mirror of
https://github.com/home-assistant/core.git
synced 2025-07-12 07:47:08 +00:00
Fix typo
This commit is contained in:
parent
ebc0ffd879
commit
3701a82de1
@ -133,7 +133,7 @@ class HikvisionMotionSwitch(ToggleEntity):
|
|||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
""" Update Motion Detection state """
|
""" Update Motion Detection state """
|
||||||
enabled = self._hikvision_cam.hik_camera.is_motion_detection_enabled()
|
enabled = self._hikvision_cam.is_motion_detection_enabled()
|
||||||
_LOGGING.info('enabled: %s', enabled)
|
_LOGGING.info('enabled: %s', enabled)
|
||||||
|
|
||||||
self._state = STATE_ON if enabled else STATE_OFF
|
self._state = STATE_ON if enabled else STATE_OFF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user