Hass-Custom-Alarm
Hass-Custom-Alarm copied to clipboard
add state_duration attribute when pending/warning, to use with countdown timer in custom lovelace card
this publishes an attribute when in pending/warning state, with the value in seconds of the current state. this can be used by a custom Lovelace card to show an accurate countdown timer. example card: https://github.com/jcooper-korg/AlarmPanel