ZWave binary sensor tests (#6555)

* ZWave binary sensor tests

* Test fixes

* Improve coverage of features
This commit is contained in:
Adam Mills 2017-03-13 01:08:53 -04:00 committed by Paulus Schoutsen
parent 5183cb5903
commit 55d60a6a13
5 changed files with 111 additions and 10 deletions

View file

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