Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Indoor Cam C220 / Impossible to change Guard mode #559

Open
nchris-green opened this issue Nov 11, 2024 · 0 comments
Open

[Bug]: Indoor Cam C220 / Impossible to change Guard mode #559

nchris-green opened this issue Nov 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@nchris-green
Copy link

Client version

8.0.4

Node version

6.6.54-haos

Operating System type

Linux

Operating system version

Home Assistant OS 13.2

Describe the bug

Changing the guard mode of the C220 indoor camera (firmware 2.2.0.0) doesn't work any more (see screenshot and logs)

To reproduce

Screenshot_2024-11-11-21-38-02-067_io homeassistant companion android-edit~2

Screenshots & Logfiles

Enregistreur: homeassistant
Source: components/synology_dsm/camera.py:91
S'est produit pour la première fois: 9 novembre 2024 à 3:51:21 PM (7067 occurrences)
Dernier enregistrement: 9:23:27 PM

Error doing job: Task exception was never retrieved (None)
Error doing job: Exception in callback _TrackTimeInterval._interval_listener(<Job Camera u... of ...>>)>)>>) (None)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 266, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 481, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 176, in async_update_listeners
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 561, in _handle_coordinator_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/components/camera/init.py", line 906, in async_write_ha_state
super().async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1007, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1132, in _async_write_ha_state
self.__async_calculate_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1068, in __async_calculate_state
available = self.available # only call self.available once per update cycle
^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/synology_dsm/camera.py", line 111, in available
return self.camera_data.is_enabled and super().available
^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/synology_dsm/camera.py", line 91, in camera_data
return self.coordinator.data["cameras"][self.entity_description.camera_id]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 2

Additional context

No response

@nchris-green nchris-green added the bug Something isn't working label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant