Make homematic climate dynamic for datapoints. (#5993)
* Make homematic climate dynamic for datapoints. * Code cleanup * Add more option * add options * Pump version 0.1.22 * optimaze
This commit is contained in:
1 parent
039559882b
commit
80bc2666ac
8 files changed
+52
-59
No files matched your search
@@ -56,9 +56,6 @@ class HMBinarySensor(HMDevice, BinarySensorDevice):
|
||||
@property
|
||||
def device_class(self):
|
||||
"""Return the class of this sensor, from DEVICE_CLASSES."""
|
||||
if not self.available:
|
||||
return None
|
||||
|
||||
# If state is MOTION (RemoteMotion works only)
|
||||
if self._state == "MOTION":
|
||||
return "motion"
|
||||
|
||||
Reference in new issue
Block a user