-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Automations condition.weekday missing in Automation GUI #3833
Comments
Currently, I have something like this (WIP):
I'm aware that weekday is part of the time condition (https://www.home-assistant.io/docs/scripts/conditions/#time-condition), but you can add two conditions for time and for weekday with I propose to split that condition into two: @bramkragten @iantrich do you think? The easiest thing to do would be to replace time condition (that contains weekday) with two conditions inside AND condition. |
I think the split is a good idea UX wise, but I think it is good idea to keep the frontend and backend/yaml aligned and that would be breaking... Can you create an architecture issue for this? |
@bramkragten created: home-assistant/architecture#356 |
@bramkragten I've added #5324. |
@bramkragten what do you think about this? |
@Misiu Can these be faked? As in, the UI shows the conditions as weekday or time but really the yaml is written how it is now? |
@Misiu Martin is right there, we can already do what you want without a backend change. |
I'd like to get back to this. But as mentioned before my main motivation was to split weekday and time into two separate conditions. @zsarnett as @bramkragten wrote here we should align frontend and backend. WDYT about the accordion approach? By default, it would be collapsed, but when at least one day is selected I can expand it. |
@bramkragten another prototype:https://stackblitz.com/edit/ha-expand-panel?file=index.html I've created I'm using |
@Misiu I think this looks nice! |
The weekday interface in the Automations UI is missing.
I have the following config:
But the interface looks like this

It would be nice to have a or something to select the weekday time condition and then a list of checkboxes/switches to add or remove the weekdays that will be added in the condition.
The text was updated successfully, but these errors were encountered: