I have been using Hass.io for about a year now and have enjoyed it very much. Recently a few things I’ve wanted to do have led me to a migration from hass.io to hassbian. Everything seemed to go smoothly but my Xiaomi sensors are now not playing ball…
I have many automations but I’ll only show a couple. Here are flip automations for the cube, which worked fine before:
thanks for the tip. I have looked carefully with fresh eyes and still cannot see the issue. No names have changed either the entity_ids remain the same after checking. Other automatons based on time and sun are also working, I can see the clicks of all my aqara switches and buttons yet few of them work.
Yaml is strange sometimes, one character can break it
issue might be “-” character in “alias” or capital letter, try putting alias in quotes or renaming it to small letters only and without characters, try these:
Thanks for the suggestion, I will try these tonight but as I have other automations with no dashes that also don’t trigger, I feel this isn’t the issue. Eg “Bathroom Toggle”. But I will also try without spaces and see if it makes a difference!
If you haven’t solved this yet, I think I ran into it and fixed it. HA 0.84 made some changes. One of them appears to have not made the docs, but automation’s no longer default to on. They default to off if they cannot remember what state they were in before an HA reboot. There was a mention in the update notes of 0.84 that said if you don’t set an initial state of your automation to ‘on’, then they will be off after the 0.84 update. The automation doc still says they default to on, but in actuality they no longer do. Set initial state in your automation’s and that takes care of the problem. It most often shows after consecutive rapid reboots, like when you are fixing a sensor and have to restart it a couple times in a row to get it right. Probably should be written up as a bug but I don’t know if anyone has.