Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing parameters of modi does not store #823

Closed
pvklink opened this issue Oct 30, 2023 · 16 comments
Closed

changing parameters of modi does not store #823

pvklink opened this issue Oct 30, 2023 · 16 comments
Labels
bug Something isn't working work-in-progress

Comments

@pvklink
Copy link

pvklink commented Oct 30, 2023

Alarmo Version

1.9.12

HA Version

20231017.0.dev - latest

Bug description

when i change the modi paramers in and out delays, the changed values dont store!
I use the latest docker on a rpi 4b with the latest os

All other applications works fine on this hass docker config
This is the only part that dont save.
Does it auto save, or do i get a save button, because i dont see one..

Steps to reproduce

when i change all values for home, away night, the dissaper after the latest is changed and checking the first

Relevant log output

No response

@pvklink pvklink added the bug Something isn't working label Oct 30, 2023
@ghost
Copy link

ghost commented Nov 2, 2023

Can confirm. Same with my Alarmo installation.

@samtate
Copy link

samtate commented Nov 2, 2023

Happens for me too. Is this from the latest update

@nielsfaber
Copy link
Owner

Could anyone check the HA log if any error is displayed here when making a change?
Changes should automatically be saved.
Is there any difference between changing a delay and enabling/disabling a mode?

@samtate
Copy link

samtate commented Nov 2, 2023

Hi @nielsfaber I can enable/disable alarm modes and they will stick but I cannot change the entry/exit time or trigger time, as it will just revert to the previous value on refresh.

I do not see any errors in the browser console or in the home assistant logs. I looked on the /config/logs page under "Home Assistant Core", is that right?

@samtate
Copy link

samtate commented Nov 2, 2023

I think I must have been able to change them in the past as my away mode was using non-default values.

I reinstalled the integration, having deleted it from the device list, and the issue still persists. Happens on mobile and desktop

@ghost
Copy link

ghost commented Nov 2, 2023

No error messages in the HA logs when changing the values.
Also only 3 messages in the system debug logs containing "Alarmo" - all error unrelated.

2023-11-02 18:11:42.081 INFO (MainThread) [homeassistant.setup] Setting up alarmo
2023-11-02 18:11:42.082 INFO (MainThread) [homeassistant.setup] Setup of domain alarmo took 0.0 seconds
2023-11-02 18:11:42.125 INFO (MainThread) [homeassistant.components.alarm_control_panel] Setting up alarm_control_panel.alarmo

@aurelmarius
Copy link

aurelmarius commented Nov 2, 2023

Same problem here. Just installed alarmo and can't set none of the delay settings.
I manually edited .storage/alarmo.storage and set the values:

    "area_id": "1698947412",
    "name": "Hol",
    "modes": {
      "armed_away": {
        "enabled": true,
        "exit_time": 60,
        "entry_time": 60,
        "trigger_time": 600

@nielsfaber
Copy link
Owner

I can confirm the issue is caused by the HA 2023.11 update (I was on 2023.10 until today and could not reproduce this).
The issue is related to this change: home-assistant/frontend#18168.
I will have to make some changes to Alarmo to restore functionality.

@nielsfaber
Copy link
Owner

I made a new release which should fix this issue.
@pvklink Could you please update and confirm the issue is solved for you now?

@Nicko33127
Copy link

Amazing work! I had the same issue, just tested it and it works now. Thank you!

@aurelmarius
Copy link

I can confirm, it is fixed now. Thanks a lot.

@lanieuwe
Copy link

lanieuwe commented Nov 4, 2023

No I installed te laterst version Firmware: 1.9.13 from HACS.
The problem is not fixed. I still cannot change the delay. The Alarmo site bar on the left hand site is v1.9.12 but the alarmo in the integration says firmware 1.9.13. That is strange....

@pvklink
Copy link
Author

pvklink commented Nov 4, 2023 via email

@lanieuwe
Copy link

lanieuwe commented Nov 4, 2023

Thank you Niels!
It works fine now!

@jperns
Copy link

jperns commented Nov 26, 2023

I updated to the latest version using HACS and restarted HASS but it is still not saving for me?

@jperns
Copy link

jperns commented Nov 26, 2023

I updated to the latest version using HACS and restarted HASS but it is still not saving for me?

Ok, so while I had updated Alarmo to 1.9.13 in HACS, the version shown in the Alarmo UI was still 1.9.12. I switched to a different browser/no cache and it works. So yeah, clearing cache of your browser should sort it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working work-in-progress
Projects
None yet
Development

No branches or pull requests

7 participants