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:
parent
039559882b
commit
80bc2666ac
8 changed files with 52 additions and 59 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue