ZWave binary sensor tests (#6555)

* ZWave binary sensor tests

* Test fixes

* Improve coverage of features
This commit is contained in:
Adam Mills authored and Paulus Schoutsen committed 2017-03-12 22:08:53 -07:00
1 parent 5183cb5903
commit 55d60a6a13
5 files changed
+111 -10

No files matched your search

@@ -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."""