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

V3.4.7 : Warning: color mode [stop working in 2025.3] #479

Open
senna1992 opened this issue May 9, 2024 · 1 comment
Open

V3.4.7 : Warning: color mode [stop working in 2025.3] #479

senna1992 opened this issue May 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@senna1992
Copy link

The latest update provides me with this error:

light.licht_8 (<class 'custom_components.wiser.light.WiserLight'>) set to unsupported color mode {<ColorMode.ONOFF: 'onoff'>}, expected one of {<ColorMode.ONOFF: 'onoff'>}, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/asantaga/wiserHomeAssistantPlatform/issues

`Logger: homeassistant.helpers.event
Quelle: helpers/event.py:327
Erstmals aufgetreten: 8. Mai 2024 um 23:09:08 (1 Vorkommnisse)
Zuletzt protokolliert: 8. Mai 2024 um 23:09:08

Error while dispatching event for light.licht_8 to <Job track state_changed event ['light.licht_1', 'light.licht_2', 'light.licht_3', 'light.licht_4', 'light.licht_5_1', 'light.licht_7_1', 'light.licht_7_2', 'light.licht_9_2', 'light.licht_8', 'light.licht_9_1'] HassJobType.Callback <function GroupEntity.async_added_to_hass..async_state_changed_listener at 0x7f8ec34cc0>>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 327, in _async_dispatch_entity_id_event
hass.async_run_hass_job(job, event)
File "/usr/src/homeassistant/homeassistant/core.py", line 947, in async_run_hass_job
hassjob.target(*args)
File "/usr/src/homeassistant/homeassistant/components/group/entity.py", line 90, in async_state_changed_listener
self.async_defer_or_update_ha_state()
File "/usr/src/homeassistant/homeassistant/components/group/entity.py", line 111, in async_defer_or_update_ha_state
self.async_update_group_state()
File "/usr/src/homeassistant/homeassistant/components/group/light.py", line 284, in async_update_group_state
color_mode_count = Counter(itertools.chain(all_color_modes))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/collections/init.py", line 607, in init
self.update(iterable, **kwds)
File "/usr/local/lib/python3.12/collections/init.py", line 698, in update
_count_elements(self, iterable)
TypeError: unhashable type: 'set'`

@senna1992
Copy link
Author

config_entry-wiser-9b53e456ad3705a3e39faa20b40d008b.json

Debug log, if helpful.
Device is reproted as "1GANG/SWITCH/1" by "Schneider Electric" Firmware: 2.10.1

@msp1974 msp1974 added the bug Something isn't working label May 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

2 participants