diff --git a/blinkpy/sync_module.py b/blinkpy/sync_module.py index 64ea61ad..291b1067 100644 --- a/blinkpy/sync_module.py +++ b/blinkpy/sync_module.py @@ -39,7 +39,7 @@ def __init__(self, blink, network_name, network_id, camera_list): self.available = False self.type_key_map = { "mini": "owls", - "lotus": "doorbells", + "doorbell": "doorbells", } @property @@ -124,7 +124,7 @@ def update_cameras(self, camera_type=BlinkCamera): """Update cameras from server.""" type_map = { "mini": BlinkCameraMini, - "lotus": BlinkDoorbell, + "doorbell": BlinkDoorbell, "default": BlinkCamera, } try: diff --git a/tests/test_sync_functions.py b/tests/test_sync_functions.py index 50da7c53..5fac66fa 100644 --- a/tests/test_sync_functions.py +++ b/tests/test_sync_functions.py @@ -170,7 +170,7 @@ def test_sync_with_mixed_cameras(self, mock_resp): self.blink.sync["test"].camera_list = [ {"name": "foo", "id": 10, "type": "default"}, {"name": "bar", "id": 11, "type": "mini"}, - {"name": "fake", "id": 12, "type": "lotus"}, + {"name": "fake", "id": 12, "type": "doorbell"}, ] self.blink.homescreen = {