ZWave binary sensor tests (#6555)
* ZWave binary sensor tests * Test fixes * Improve coverage of features
This commit is contained in:
parent
5183cb5903
commit
55d60a6a13
5 changed files with 111 additions and 10 deletions
|
@ -58,11 +58,6 @@ class ZWaveBinarySensor(BinarySensorDevice, zwave.ZWaveDeviceEntity):
|
|||
"""Return the class of this sensor, from DEVICE_CLASSES."""
|
||||
return self._sensor_type
|
||||
|
||||
@property
|
||||
def should_poll(self):
|
||||
"""No polling needed."""
|
||||
return False
|
||||
|
||||
|
||||
class ZWaveTriggerSensor(ZWaveBinarySensor):
|
||||
"""Representation of a stateless sensor within Z-Wave."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue