alarmdotcom icon indicating copy to clipboard operation
alarmdotcom copied to clipboard

Dashboard tile to arm or disarm gets stuck and doesn't show appropriate buttons

Open rmatte opened this issue 1 year ago • 5 comments

Describe the bug After the most recent alarmdotcom update (3.0.10) my dashboard tile which provides the "Arm Home", "Arm Away" and "Disarm" buttons for controlling the state of the alarm system will get stuck in a state where it will show the button from the previous state and just stay like that. For instance I had it where the alarm system was armed but instead of showing the Disarm button it was stuck showing the Arm buttons. I decided to restart Home Assistant to see if that would help at all and after the restart of Home Assistant I armed then disarmed my alarm. Even though it's currently disarmed it's stuck showing the Disarm button on the dashboard tile so I can't re-arm it via Home Assistant. This wasn't an issue in the previous version so something must have changed in this most recent version (which I updated to just a day ago) to cause this.

To Reproduce Steps to reproduce the behavior:

  1. Install latest version of alarmdotcom (3.0.10) in home assistant and associate it with an alarm system.
  2. Create a dashboard tile for controlling the state of the alarm system and click to change the state.
  3. It might take a couple of tries but you should eventually see the buttons get "stuck" and not change like they are supposed to.

Expected behavior When arming the system from the dashboard tile the "Disarm" button should be displayed. Then after disarming the system the "Arm Home" and "Arm Away" buttons should be displayed. It shouldn't keep displaying the button from the previous state.

Home Assistant Version:

Running HA OS, details below:

Core: 2023.11.1 Supervisor: 2023.10.1 Operating System: 11.1 Frontend: 20231030.1

rmatte avatar Nov 07 '23 16:11 rmatte

I rolled back to version 3.0.9 from 3.0.10 and the problems went away, so this is definitely related to something that changed between those versions.

rmatte avatar Nov 07 '23 16:11 rmatte

I too face these circumstances, and have just followed your lead to downgrade. Typically (and thankfully), our HA/ADC integration gets stuck in the "Disarmed" state so that the armed automations still work. Will see tonight/tomorrow AM if the states change properly.

lwndow avatar Nov 08 '23 01:11 lwndow

I also facing the same issue. I have automation setup to arm at midnight and disarm in the morning. After it get disarmed in the morning it still shows it is armed. This prevent it being armed again in the evening.

richardyao68 avatar Nov 10 '23 15:11 richardyao68

I subscribed as I too still have this issue from time to time.

Sinandgrin avatar Jan 13 '24 16:01 Sinandgrin

I upgraded to v3.0.12 and I can confirm that this is fixed in that version.

The only comment I have in relation to this at this point is that it takes a little while for the dashboard tile to update after toggling the state (it's been that way since before this problem surfaced). I'm not sure if it's possible in the code, but it would be nice if it would check for the state change and update the buttons within like 5 to 10 seconds instead of the like 20 to 30 seconds that it currently takes for the buttons to update after changing the state. Thanks.

rmatte avatar Jan 31 '24 17:01 rmatte