home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.2k stars 30.22k forks source link

WLED - Traceback with keyerror #110478

Closed disconn3ct closed 2 months ago

disconn3ct commented 7 months ago

The problem

Logger: homeassistant.components.wled Source: helpers/update_coordinator.py:313 Integration: WLED (documentation, issues) First occurred: 9:20:51 AM (8 occurrences) Last logged: 9:28:07 AM

Unexpected error fetching wled data: 'palettes' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 313, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/wled/coordinator.py", line 103, in _async_update_data device = await self.wled.update(full_update=not self.last_update_success) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/backoff/_async.py", line 151, in retry ret = await target(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/wled/wled.py", line 275, in update self._device = Device(data) ^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/wled/models.py", line 694, in init if any( ^^^^ File "/usr/local/lib/python3.12/site-packages/wled/models.py", line 695, in k not in data and data[k] is not None


KeyError: 'palettes'

### What version of Home Assistant Core has the issue?

core-2024.2.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

_No response_

### Diagnostics information

_No response_

### Example YAML snippet

_No response_

### Anything in the logs that might be useful for us?

_No response_

### Additional information

There is no indication of which device is causing the error. It looks like this has been "fixed" a few times already but keeps returning.
home-assistant[bot] commented 7 months ago

Hey there @frenck, mind taking a look at this issue as it has been labeled with an integration (wled) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `wled` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign wled` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


wled documentation wled source (message by IssueLinks)

issue-triage-workflows[bot] commented 4 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

disconn3ct commented 4 months ago

Bugs don't fix themselves