-
-
Notifications
You must be signed in to change notification settings - Fork 28.8k
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
SynologyDSMSwitchUpdateCoordinator data: 'NoneType' object has no attribute 'get_home_mode_status' #103881
Comments
Hey there @hacf-fr, @Quentame, @mib1185, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) synology_dsm documentation |
Same here. I've tried with Home Mode disabled and enabled... it still gives that error. |
please download and provide the diagnostics data for this integration. |
diagnostic data from my HA |
Hello everyone. I've managed to make it work. To me, all this was happening after i've temporary disabled the 2 Factor Authentication on my Synology DS in order to easily play with the configuration for a while(incl. Surveillance Station). So, i am not sure if i am just lucky or this is indeed a glitch, but i've re-activated the 2 factor authentication on the account I use for HA, then reconfigured the integration and it's now working. I'm curious if this will work for others or just for me. |
I'm now getting this same error after upgrading my Synology to 7.x from, 6.x. I'm running Home Assistant OS, Core version 2024.3.0. |
same error to me: |
The problem
Synology integration returns an error. looking at the logs it says SynologyDSMSwitchUpdateCoordinator data: 'NoneType' object has no attribute 'get_home_mode_status'
ERROR (MainThread) [homeassistant.components.synology_dsm.coordinator] Unexpected error fetching 10.10.0.10 SynologyDSMSwitchUpdateCoordinator data: 'NoneType' object has no attribute 'get_home_mode_status'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/synology_dsm/coordinator.py", line 73, in _async_update_data
"switches": {"home_mode": await surveillance_station.get_home_mode_status()}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_home_mode_status'
What version of Home Assistant Core has the issue?
2023.11.2
What was the last working version of Home Assistant Core?
NA
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Synology
Link to integration documentation on our website
https://www.home-assistant.io/integrations/synology_dsm
Diagnostics information
home-assistant_synology_dsm_2023-11-12T19-41-33.820Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: