mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Homekit Motion Sensor Review feedback (#20568)
This commit is contained in:
parent
988bcf9399
commit
e0e5b860e4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user