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
71.14k stars 29.81k forks source link

WLED integration does not handle segments individually #36026

Closed fribse closed 4 years ago

fribse commented 4 years ago

The problem

It says in the docs that "Home Assistant treats every segment of the LED strip as a separate light entity." But if I turn on/off one segment, change colors or the like, it also affects the second segment. When I do the switch in the integration overview, the other segment does not reflect the change in the overview until it's refreshed, but it does so on the light and in Lovelace frontend. This light is shown as

I gather that rack is the entire string (segment 0), and rack 1/2 are the segments 1 and 2?

Environment

Problem-relevant configuration.yaml

No configuration, directly in GUI

Additional information

entity overview: image Integration view: image

frenck commented 4 years ago

This is not a bug, but a feature request.

WLED introduced this feature in their latest firmware (which makes it currently backward incompatible).

We use GitHub for tracking issues, not for providing support or tracking feature requests.

If you want to suggest a feature, you should try our Community Forum: Feature Requests.

If you have additional questions, feel free to join our Discord chat server.

Thanks! 👍

fribse commented 4 years ago

@frenck I don't understand why this is a feature request? What part is a feature request? Segments has been there forever, and in WLED integration it says it handles each segment as an indivual light?

Lights

This integration adds the WLED device as a light in Home Assistant. Home Assistant treats every segment of the LED strip as a separate light entity.

frenck commented 4 years ago

on/off and brightness handling features for each segment have been added to the latest release of WLED (by my own request). WLED recently added that feature.