1
0
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:
Jacob McSwain 2019-10-19 16:54:07 -05:00
parent 7e7b4b85de
commit c35f2633b9
No known key found for this signature in database
GPG Key ID: 59957AD09B94EDF5

View File

@ -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):