Thank you for the quick response! I went the card-mod route and that did the trick, thank you very much!
Another question when you have time. I’m also interested in the countdown timer. I’ve created the manual folder in custom_compontents, added the 3 files and restarted HA. However, I’m still not seeing the countdown timer appear when arming my system. Any idea’s?
Is there anything useful in the log? You should see a message like: You are using a custom integration manual which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
Technically I created the files myself and just copied the contents.
The files are located in custom_components/manual within my config folder. After a restart a new file called `pycache’ was created.
Do I need to add any lines to my config file or resources that references the folder?
Not that I’m aware of. I’m currently running Hass.io - Home Assistant OS 5.12, supervisor-2021.03.6 and Home Assistant core-2021.3.2. But I’ve been running this setup since HA 0.116.
Dumb question, but did you add show_countdown_timer: true to the alarm panel card config?
I’m running Home Assistant in docker core-2021.3.4. I double checked and I do have show_countdown_timer: true in the config.
Does the timer only show upon trigger or should it show when it’s also pending arm?
Its likely something super simple and dumb that I’ve missed.
Sorry I was incorrect earlier, I am getting the warning in the logs about the custom component for manual. It was lumped in with the warning for another custom component and had to be expanded to see. When I arm the system and it goes to Pending, it does not flash/blink or give the countdown timer.
You are using a custom integration manual which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
Sounds like the custom manual component is there ok.
I wonder if the timer is being positioned incorrectly. Are you running landscape or portrait? Does it look any different from your phone or web browser? Did you try switching to the default theme to see if it makes a difference?
On the tablet I am in portrait. It looks the same on all devices, phone, laptop web browser. I just tried using the default theme but unfortunately the appearance of the icon when pending is the same.
Could you please confirm that when you are arming, the Develop Tools, States, entity for your alarm control panel looks like this (including the state_duration attribute):
It looks like mine is missing some attributes when compared to yours. Is there any possibility the alarm_control_panel.py file on github differs from the one you are using?
aha! Glad we managed to get to the bottom of it. No problem, I appreciate your time and attention on trying to get the countdown timer working for my setup.
to use the countdown timer, you must install my modified manual alarm component as a custom component. Download the three files from here, and copy them into a custom_components/manual subdirectory of your configuration directory (creating the directories as necessary).
Thanks for your patience. Let me know if that works for you.
-John
Hi @johnplanetz ,
Great card mod. Thanks for that!
3 requests -
any chance to fix the auto enter? I would like to use it only to disarm my alarm. I see some comment in the code that it doesn’t work. and it indeed doesn’t work for me.
I’m using Alarmo that have a some great additions to the card: GitHub - nielsfaber/alarmo: Easy to use alarm system integration for Home Assistant
maybe you could integrate some of the new features? especially the “A message is displayed when the arming of the alarm failed or the alarm has triggered, with an overview of the sensor(s) involved.”
could you add the card to HACS? much easier to check for updates there.
Thanks @idomp for the feedback. I’ll look into fixing auto_enter.
Thanks to the link for Alarmo- I wasn’t aware of it, and it looks great! The code is very clean and well designed. (Unlike the card that I started with for my mod!)
Time permitting, I’ll look into adding that ‘list of open sensors’ feature. And I don’t know anything about adding a plugin to HACS, but will investigate.
-John