Skip to content

Commit

Permalink
Adding Gateway to sensor classes
Browse files Browse the repository at this point in the history
Otherwise, there's no sensor created for the gateway as we used to have.

Fixes #27
  • Loading branch information
valleedelisle committed Dec 30, 2021
1 parent fc3dd36 commit c568604
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion custom_components/hilo/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []

0 comments on commit c568604

Please sign in to comment.