From c568604baeff50e5f99311e7e998374a3db36d26 Mon Sep 17 00:00:00 2001 From: David Vallee Delisle Date: Thu, 30 Dec 2021 11:53:54 -0500 Subject: [PATCH] Adding Gateway to sensor classes Otherwise, there's no sensor created for the gateway as we used to have. Fixes #27 --- custom_components/hilo/const.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/custom_components/hilo/const.py b/custom_components/hilo/const.py index 146b038..be7c450 100644 --- a/custom_components/hilo/const.py +++ b/custom_components/hilo/const.py @@ -49,6 +49,11 @@ # Class lists LIGHT_CLASSES = ["LightDimmer", "WhiteBulb", "ColorBulb", "LightSwitch"] -HILO_SENSOR_CLASSES = ["SmokeDetector", "IndoorWeatherStation", "OutdoorWeatherStation"] +HILO_SENSOR_CLASSES = [ + "SmokeDetector", + "IndoorWeatherStation", + "OutdoorWeatherStation", + "Gateway", +] CLIMATE_CLASSES = ["Thermostat"] SWITCH_CLASSES = []