You only need two schedules: 1x weekdays, 1x weekend.
The switching times for each schedule can be mixed (fixed/sunset or sunrise). You just have to pay attention to potential conflicts, eg. fixed ON at 08:00 but flexible OFF at sunrise with sunrise before 08:00.
That button is greyed out whenever there is sunset or sunrise in a Schedule…
But I would like to mix sun and fixed times, so that’s not possible like that…
Try clicking on the grey areas.
I had a schedule for a my Xmas-light going, which were turned on at 06:00 and off at sunrise. In the evening they got turned on at sundown and off at 23:00. Everything was in one schedule and worked fine.
I have a script that takes a climate entity as a input and boosts the temperature before in falls back to the set temp from before the boost takes place, while this is OK to manually run and with buttons etc, it would be nice to set it to start on a schedule…
So: How do I give scripts arguments/data? i cannot see any logical way of doing this … I don’t want to create climate-specific boost-scripts as that creates clutter …
Do you have any plans to migrated the helper/label on the actions to show area instead of entity id? This would be consistent with the latest versions of the selectors from home Assistant.
I’ve installed Scheduler and used it to set my blind tilts at sunset which works great - very happy.
However, when I try and schedule a switch, there are no switches found. I was expecting to see at least my plugs (about a dozen of them) here. Also Lights is equally blank and I’ve got at least 10 bulbs in HA. I just get the search box and no devices. What am I doing wrong?
Thepillock - before you try to add a new schedule to the Scheduler Card, edit the dashboard and then edit the Scheduler card. There you can “Configure included entities” to insure you can create schedules for the lights and switches you have in mind.
Oh! Amazing, yes that was it I knew it would be a me problem!
(I’d not actually selected anything at all, they were all 0/12, 0/20 etc so it’s slightly weird I could see the blind tilt, but now I’ve selected blinds, lights and switches they’re the only three types in the list where before it showed all types, but barely any devices)
Hi there! Discovered this card through Gemini which was glowing in its recommendation (see below). Just installed and testing out various scenarios. Thank you!
Recommendation 1: The “Scheduler Card” (Best Practice)
The absolute best way to handle this today is using the Scheduler Component (integration) and Scheduler Card (frontend). This is a custom integration available via HACS (Home Assistant Community Store).
Hi everyone,
first of all. @neliss, thanks for all the effort you put this card, it really provides great functionality.
I have been spending quite some time reading documentation and to try to undersand how it works. I think I got the idea and now I have some specific questions, to see if I understood everything correctly. I appreciate every answer, so thanks in advance.
Differenct conditions for different time slots.
I want to achieve something like this:
Turn on the light at 6 in the morning, only when I am at home.
Turn the light off at 8, no matter if am at home or not.
→ For this I need two schedules. One to turn on the light with the condition and the second one to turn off the light with no condtion.
Time slot over midnight.
In my understanding, there is no single timeslot over midnight. So if I’d like somethin like let’s say 22:00 - 6:00, that would be two different time slots (22:00 - 23:59 and 00:00 - 6:00). If I set the same action for both of the slots I will have the same state from 22:00 - 6:00.
Now there might be a case, that I want to manually override the schedule. Let’s say, the light turns off at 22:00 and I turn it on again, I don’t want it to turn off at 0:00 again.
→ My solution for this would be not to define the time slot from 00:00 - 6:00. In this way, at 0:00 the light will stay in the state it was before and at 6 in the morning the next state will be set.
Are my assumptions to 1 and 2 correct so far?
Conditions.
I cannot find an option for complex condtions. Something like (a OR b) AND c. Or in my special case: a AND (b or (C AND NOT d)). This does not seem possible via UI. Is it somehow possible to achieve this via yaml?
"Creating a complete configuration via the GUI takes a lot of time and effort with many mouse clicks. I made an adjustment that ultimately didn’t give the desired result in my scheduler.
How can I specifically do a kind of undo in the scheduler-card or revert my changes? Is there a YAML somewhere that I can quickly save (even in Notepad++) before experimenting, so I don’t have to start from scratch every time I do something wrong?"