This should be trivial to implement and harmless. Please expose the armed_away/home/etc arming and delay time as read-only attributes, so they can be used by a custom Lovelace card, automations, etc.
Thanks!
-John
This should be trivial to implement and harmless. Please expose the armed_away/home/etc arming and delay time as read-only attributes, so they can be used by a custom Lovelace card, automations, etc.
Thanks!
-John
Another idea would be to just publish the current “seconds remaining” or “seconds in this state” value as an attribute. More context: Trying to implement a custom js Lovelace alarm panel card with countdown timer
I modified the manual component to add a new state_duration attribute, when in the arming/pending state. Sent Pull Request https://github.com/home-assistant/core/pull/41872
My updated custom alarm panel card with countdown timer is at https://github.com/jcooper-korg/AlarmPanel
I don’t know if this is possible but perhaps you can scrape the configuration.yaml file for the information?
It’s off course not a good solution but perhaps a work around.