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
74.07k stars 31.09k forks source link

WLED Segment Mismatch #124271

Open wernerhp opened 3 months ago

wernerhp commented 3 months ago

The problem

HA switch entities don't match WLED Segments.

Segment Names

Segment names don't pull through to HA.

HA WLED Comment
Garage Door Light (WLED) Power This is expected ot be the Main segment. With Multiple Segments enabled, the color incorrectly shows as blue (Segment 0) instead of just indicating state on/off
Main Blue Segment 0 in WLED renamed to Blue, but pulls in as Main in HA. Expect Blue (or Segment 0 if the name can't be pulled in)
Segment 1 White Segment 1 in WLED renamed to White, but pulls in as Segment 1 in HA. Expect White
Segment 2 Green Segment 2; same comment as Segment 1
Segment 3 Gold Segment 3; same comment as Segment 1
Segment 4 Black Segment 4; same comment as Segment 1

Single Segment

WLED Power state matches Garage Door Light (WLED) in HA WLED Segment 0 state pulls through as Main in HA, but the state does not match for a single segment.

Click to expand | POWER | HA | WLED | | --- | --- | --- | | ON | image | image | | OFF | image | image |

Multiple Segments

The Main segment only seems to work when there are more than 1 segments enabled (see above screenshots where Main is always off)

Main does not match the color of Segment 0. Intead, Garage Door Light (WLED) shows the color of Segment 0 Expected: Main should show

POWER (ON) and Segment 0 (Blue) seem to be swapped around when there are multiple segments.

Click to expand | Power | HA | WLED | | --- | --- | --- | | ON | image | image | | OFF | image | image |

What version of Home Assistant Core has the issue?

core-2024.8.2

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

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 3 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 1 week 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.

wernerhp commented 1 week ago

Bump