From c35f2633b9cbf558511b4cafd8adf1d83677953f Mon Sep 17 00:00:00 2001 From: Jacob McSwain Date: Sat, 19 Oct 2019 16:54:07 -0500 Subject: [PATCH] Climate: async_add_entities takes an array --- custom_components/badnest/climate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/badnest/climate.py b/custom_components/badnest/climate.py index 22f3961..d611d1e 100644 --- a/custom_components/badnest/climate.py +++ b/custom_components/badnest/climate.py @@ -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):