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
80 stars 31 forks source link

Can't add/remove sensors while using mobile phone #114

Open CancunManny opened 3 years ago

CancunManny commented 3 years ago

The component:

Describe the bug

When using android phone, we are able to log in to HA panel, then onto the Alarm panel. When we go to the sensors list to make changes, the changes don't take. If I click on a sensor, it toggles, but a second or two later it toggles back to its original state.

At first I thought it was an issue with credentials, since I was teaching my GF how to make changes to the sensors, and she doesn't have admin rights on HA with her account. I did it on the computer with my credentials and it worked right away. Figured credentials was the issue.

However I just ran another test, this time using my android phone with chrome as well, and logged in with my credentials, and got the same results as with my GFs account. If I try to toggle a sensor (add/remove) it changes to the other color, then toggles back to its original state. If I do the same thing with a regular computer browser I don't get the issue.

I even tried by selecting "desktop version" on the chrome browser, and got same results.

I did play around more, and seems If I click many different sensors are random, one will take, but then it becomes difficult to change it again. For example I clicked 3 different ones right after another, one took, and the other two reverted back to their original state. By trying to change the one that did take back, I ended up changing another one. At one point I was able to switch one of them back to off, but I couldn't get the last one change back. So did it with computer browser.

To Reproduce

Expected behavior

I expect to be able to change settings using android chrome browser Your bwalarm.yaml

Home Assistant log

Screenshots

Additional context