Move Verisure services to entity services (#47905)
This commit is contained in:
parent
40c12997ed
commit
9fd973d8e8
6 changed files with 79 additions and 62 deletions
|
@ -112,11 +112,3 @@ class VerisureDataUpdateCoordinator(DataUpdateCoordinator):
|
|||
def smartcam_capture(self, device_id: str) -> None:
|
||||
"""Capture a new image from a smartcam."""
|
||||
self.verisure.capture_image(device_id)
|
||||
|
||||
def disable_autolock(self, device_id: str) -> None:
|
||||
"""Disable autolock."""
|
||||
self.verisure.set_lock_config(device_id, auto_lock_enabled=False)
|
||||
|
||||
def enable_autolock(self, device_id: str) -> None:
|
||||
"""Enable autolock."""
|
||||
self.verisure.set_lock_config(device_id, auto_lock_enabled=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue