-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
Open
Labels
Description
The problem
Wled is not working right on one controller. it always shows "Failed to perform the action light/turn_on. 255" when i change any atribute in the WLED device.
What version of Home Assistant Core has the issue?
core-2024.10.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
WLED
Link to integration documentation on our website
https://www.home-assistant.io/integrations/wled
Diagnostics information
config_entry-wled-01J8TNVH5V0TRF8GMGGZMHPC2D.json
Example YAML snippet
action: light.toggle
target:
entity_id:
- light.eingangturwled
data: {}
Anything in the logs that might be useful for us?
Logger: homeassistant
Source: components/wled/select.py:180
First occurred: 6:17:19 PM (22 occurrences)
Last logged: 6:20:46 PM
Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 453, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 168, in async_update_listeners
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 533, in _handle_coordinator_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1005, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1130, in _async_write_ha_state
self.__async_calculate_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1067, in __async_calculate_state
state = self._stringify_state(available)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1011, in _stringify_state
if (state := self.state) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/select/__init__.py", line 145, in state
current_option = self.current_option
^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/wled/select.py", line 180, in current_option
return self.coordinator.data.palettes[
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 255
Additional information
i did found a work around by disabling select.[name]_color_palette entity.
KlaysDe, roybosch, Adams-Scott, desjoerd, Virenbar and 2 more