Open webDDMS opened 2 weeks ago
Hey there @mrpasztoradam, mind taking a look at this issue as it has been labeled with an integration (ads
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
ads documentation ads source (message by IssueLinks)
Hi @all
same problem here.
ADS Cover ist not available.
All other ADS Sensors like Binary Sensor, INT, UINT are working well.
Core 2024.10.4 Supervisor 2024.10.3 Operating System 13.2 Frontend 20241002.4
Hi all! I took a look at it, but could not reproduce the issue. My system works as intended.
Core 2024.10.4 Supervisor 2024.10.3 Operating System 13.2 Frontend 20241002.4
Could you tell me more information maybe?
I found this in the protokol:
Logger: homeassistant.components.cover Quelle: helpers/entity_platform.py:361 Integration: Abdeckung (Dokumentation, Probleme) Erstmals aufgetreten: 3. November 2024 um 23:27:01 (14 Vorkommnisse) Zuletzt protokolliert: 3. November 2024 um 23:27:02
Error while setting up ads platform for cover Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform await asyncio.shield(awaitable) File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/ads/cover.py", line 61, in setup_platform ads_var_is_closed: str = config[CONF_ADS_VAR]
KeyError: 'adsvar'
Hello everybody, my Homeassistant returns the exact same contents in the debug log as Manni666's:
Logger: homeassistant.components.cover Source: helpers/entity_platform.py:361 Integration: Cover (Dokumentation, Probleme) Erstmals aufgetreten: 14:19:44 (1 Vorkommnisse) Zuletzt protokolliert: 14:19:44 Error while setting up ads platform for cover
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform
await asyncio.shield(awaitable)
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/ads/cover.py", line 61, in setup_platform
ads_var_is_closed: str = config[CONF_ADS_VAR]
~~~~~~^^^^^^^^^^^^^^
KeyError: 'adsvar'
The difference in my case is, that this is my very first cover I'm setting up via ADS. Instead of a missing connection between existing cover entities and my PLC, the integration doesn't create the cover entity in the first place (but if it would there propably wouldn't be a connection either). The usual behaviour of the integration would be, no matter the device type, to create an entity, regardless of an existing connection to the PLC or not.
My system is running HAOS HA OS: 13.2 HA Core: tried both 2024.10.3 and 2024.10.4 HA Supervisor: 2024.10.3
Hello,
Same problem. Cover doesn't work. Other like sensors, inputs working fine.
Last working version is core 2024.9.3 - all versions after core 2024.10 have this issue.
Core 2024.11.1 Supervisor 2024.11.2 Operating System 13.2 Interfejs użytkownika 20241106.2
The same error:
`Rejestrator: homeassistant.components.cover Źródło: helpers/entity_platform.py:365 integracja: Roleta (dokumentacja, Problemy) Pierwsze zdarzenie: 18:21:03 (16 zdarzenia) Ostatnio zalogowany: 18:21:03
Error while setting up ads platform for cover Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 365, in _async_setup_platform await asyncio.shield(awaitable) File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/ads/cover.py", line 61, in setup_platform ads_var_is_closed: str = config[CONF_ADS_VAR]
KeyError: 'adsvar'`
Could you please share the YAML entry where you set up the cover entity?
oh lordy.
Thanks for that. Turns out i had a typo in my yaml; wrote asdvar
instead of adsvar
The corresponding entity was created and I have a connection now.
thank you @mrpasztoradam
anyway, here's my yaml, maybe it helps somebody:
cover:
- platform: ads
adsvar: PRG_2_OG.fb_5J1_Kind1_Roll.bStateHA
adsvar_position: PRG_2_OG.fb_5J1_Kind1_Roll.uPosiHA
adsvar_set_position: fb_5J1_Kind1_Roll.uSetWinkelHA
adsvar_open: PRG_2_OG.fb_5J1_Kind1_Roll.fbCtrl.bUp
adsvar_close: PRG_2_OG.fb_5J1_Kind1_Roll.fbCtrl.bDown
adsvar_stop: PRG_2_OG.fb_5J1_Kind1_Roll.fbCtrl.bStop
device_class: blind
name: 2.5J1
The problem
After updating to the latest version of HAC, all entities with the identifier "cover".abc are no longer available within the system.
Any attempt to access or interact with these cover.abc entities results in an error message indicating that these entities are no longer provided by ADS. This critical issue (P1) affects both user experience and the reliability of core functionalities that were stable and fully operational prior to this version.
What version of Home Assistant Core has the issue?
2024.10.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Core
Integration causing the issue
No response
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
Thank you for your attention to this matter. Let us know if more information is needed to facilitate troubleshooting.