mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +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
|
@property
|
||||||
def is_on(self):
|
def is_on(self):
|
||||||
"""Has motion been detected."""
|
"""Has motion been detected."""
|
||||||
if not self.available:
|
|
||||||
return False
|
|
||||||
return self._on
|
return self._on
|
||||||
|
Loading…
x
Reference in New Issue
Block a user