diff options
-rwxr-xr-x | weahome.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -138,6 +138,11 @@ class WeahomeSensor: 'humidity', 'humidity_min', 'humidity_max', 'humidity_trend', 'pressure', 'altitude', 'altitude_pressure', 'weather' ] + def __init__(self): + self.name = None + self.registered = False + self.online = False + @property def has_temperature(self): return hasattr(self, 'temperature') |