I am very new to Home Assistant.
I have a calendar entity, that has attributes that details the upcoming event I am interested in.
Start time 19 March 2023 at 10:00:00
End time 19 March 2023 at 12:30:00
I have a 2 part question.
1 - How do I use the attribute as a trigger / condition for an automation
2 - How do I strip the time value from the attribute, as I am not interested in the date.
The intended use is
If my home battery is less than 35%,
And the next power outage is 2 hours away (-2 hours from the above start time)
Switch my inverter to battery charge mode.
I would ideally like to use the UI and not YAML if at all possible