akasma74 / Hass-Custom-Alarm

It is a fork of "Yet another take on a home assistant custom alarm" that will exist until its author is back to our Earth
78 stars 29 forks source link

add state_duration attribute when pending/warning, to use with countdown timer in custom lovelace card #131

Open jcooper-korg opened 3 years ago

jcooper-korg commented 3 years ago

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