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

Assign labels to schedules #400

Open
jlaffaye opened this issue Dec 2, 2024 · 1 comment
Open

Assign labels to schedules #400

jlaffaye opened this issue Dec 2, 2024 · 1 comment

Comments

@jlaffaye
Copy link

jlaffaye commented Dec 2, 2024

Proposal

I wish to be able to assign labels to schedules. The end goal being that the switch entity for this schedule will also have this label. I will then be able to switch on/off a group of schedules based on labels.

Example use case: my energy provider has "peak events" that are not predictable and thus can not be handle in one schedule.
I have two schedules: one for "standard" mode and one for "peak" mode (almost always off).
I want to setup an automation to turn off all "standard" schedules when a peak event starts, and turn on all "peak" schedules. At the end of the peak event, do the opposite.

@romainrossi
Copy link

It seems it is already possible to assign Tags in the Entity panel
image

However, trying to switch on/off the Schedules with the "generic_turn_on"/off or the "switch turn on/off" actions doesn't do anything when targeting the Tag (while it works for "normal" switches having the same tag; and it work if the action targets directly the entity).

When the tag is expanded, the scheduler aren't listed :
image
image

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

No branches or pull requests

2 participants