So, I’ve been trying to figure out the best way to do this, but I’m left with more questions than answers. Figured it’s time to ask the community…
What I’d like is…
The ability to dynamically select several days, during the week; and have it populate as a list (for use in an automation). I’d image the UI could be done with some custom-lovelace code. Horizontal block, Mon - Sun, with check boxes below them. Checked is on, unchecked is off.
A few examples:
Let’s say you want your roomba to run on Mon, Thurs & Sat… Then come Friday you realize you’re having company on Sat, and can “uncheck” Sat from the list. The following week you can select Tues & Thurs instead.
In a perfect world, you get to work from home 2 days a week, but it changes each week depending on demand, and you find out your work-from-home schedule every Friday, for the following week. Then select the day’s you’re working from home in the UI, and run, or don’t run certain automations based on those days.
You travel often for work, but it changes every week. One week you might be OoO Mon - Tue, the following week you might be out Thurs - Fri, but whoknows. This could be used as a vacation/ooo switch to run or not run certain automations.
Hopefully what I’m getting at, makes sense?
I’d rather not have to define a static list of days, in code, for an automation to fire. Makes so much more sense to be able to change this on the fly, when life happens.
Any idea how one might accomplish this?
ops, please feel free to move this post around, not really sure where it should go.