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

Introduce target selector for lights #5

Merged
merged 3 commits into from
Mar 2, 2024
Merged

Introduce target selector for lights #5

merged 3 commits into from
Mar 2, 2024

Conversation

kizza
Copy link
Owner

@kizza kizza commented Mar 2, 2024

The target selector is a better (and more aligned) experience with homeassisstant - and also means you can select an entire area for your lights (rather than one-by-one)

Care was made (and specs added) to ensure previous configuration migrates forward appropriately (you should see your previously selected entities appear within the new component)

Overview – Home Assistant

This uses the native homeassistant target selector over the previous
entities selector. This means we can target areas as well as individual
lights, and aligns with the expectations of the platform in general.

This commit also includes a refactor of the card configuration that will
migrate previous configurations to the latest state (specifically from
the use of entities to targets for previous version migration)
I want it to be shown as optional, so that a default can be applied
later in the flow (rather than ensuring it exists)
@kizza kizza marked this pull request as ready for review March 2, 2024 00:07
@kizza kizza merged commit 5c709f2 into main Mar 2, 2024
6 checks passed
@kizza kizza deleted the ha-target-selector branch March 2, 2024 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant