When options

Is it possible to have a choice with sunrise sunset and time in the same choice.
in the mean time day of the week will be nice to0.

Best Regards

Yes it is possible. Use the ToD binary sensor:

Only the YAML configuration allows both times and sun state. The UI only allows times.

1 Like

Thank you for the suggestion, but it will be nice if in the section WHEN, we can have more time options. like ok start at the sunrise but close at a fixed time and you can choose the day too. now you can choose the fix hour only or sunrise you need to go in the section AND to have more function.

Note : i’m a user not a programmer :wink:

Best Regards

You can already do that using Trigger IDs with multiple triggers in the “When”. In the “Then Do” part, use Choose and use those trigger IDs to determine what your automation should do.

Hello ShadowFist, do i need to creat the ID first? i will check the link and video regarding the ID.

Yes, please read the docs. Everything’s explained there

1 Like