You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to know what was the last schedule element that triggered and have this value in a sensor or even as an attribute to each schedule switch entity.
Generating an event with data containing the scheduler switch entity name and time of trigger could be neat as well.
It is chosen to have a schedule represented as an (on/off) switch entity. I'd like to keep it that way.
The next timeslot / action is visible in the attributes of the switch entity.
It is chosen to have a schedule represented as an (on/off) switch entity. I'd like to keep it that way. The next timeslot / action is visible in the attributes of the switch entity.
Can you recommend the, how I could achieve the use cases in my initial feature request using your existing switch please?
Checklist
Proposal
Return the current action as a state. Therefore each schedule becomes a state machine.
Additional info
States can be used as conditions or triggers thus giving greater flexibility.
By example:
The text was updated successfully, but these errors were encountered: