mirror of
https://github.com/USA-RedDragon/badnest.git
synced 2025-01-18 18:40:42 +00:00
Climate: async_add_entities takes an array
This commit is contained in:
parent
7e7b4b85de
commit
c35f2633b9
@ -63,7 +63,7 @@ async def async_setup_platform(hass,
|
||||
"""Set up a Foscam IP Camera."""
|
||||
nest = NestThermostatAPI(config.get(CONF_EMAIL), config.get(CONF_PASSWORD))
|
||||
|
||||
async_add_entities(ShittyNestClimate(nest))
|
||||
async_add_entities([ShittyNestClimate(nest)])
|
||||
|
||||
|
||||
class ShittyNestClimate(ClimateDevice):
|
||||
|
Loading…
x
Reference in New Issue
Block a user