Homekit Motion Sensor Review feedback (#20568)

This commit is contained in:
Jc2k 2019-01-29 16:25:18 +00:00 committed by Charles Garwood
parent 988bcf9399
commit e0e5b860e4

View File

@ -50,6 +50,4 @@ class HomeKitMotionSensor(HomeKitEntity, BinarySensorDevice):
@property
def is_on(self):
"""Has motion been detected."""
if not self.available:
return False
return self._on