One feature I miss with the Alert component is the feature to time restrain the alert.
An alert is “quick to notice any unusual and potentially dangerous or difficult circumstances; vigilant.”
But some alert can be delayed to appropriate times, like if your sensor batteries go below a certain level. An alert is appropriate, but not at 03:00 in the night. This could be postponed to 9:00.
I would suggest an Alarm time parameter for a valid time interval. Default 24-7 or
time: "09:00:00–21:00:00"
or
time:
- "09:00:00–10:00:00"
-"18:30:00–20:15:00"