I had automation turning on and of a shelly plug which worked just fine. HOwever after the upgrade to the 2024.5.1, the automation doe snot keep switching off as it should.
The highlighted period should not be on. THe trigger on automation does not kick in after 6 PM and the switch of checks every minute after that and switches it off.
So obviously this is not happening. ANd it only started after the upgrade. Is anyone seeing any issues similar to mine?
Traces show correct. When checking day or so ago, it actually did not trigger ON outside of the range and was triggering OFF when it should.
I’ve just checked it now and while HA showed ON, shelly was OFF. But there are no errors shown on communication side. Turning it OFF via HA, it flips back on - and no change on SHelly.
So i flipped it ON/OFF on shelly and suddenly it reflected in HA. Now When turning ON/OFF in HA< it also reflects on shelly. It is strange.
I will dig through this hopefully little bit more today as I will have time.
And I will also check the automation suggested.
THe reason for the minute trigger was to make sure it turns on anaytime within the interval in case there was for example power outage or it was switched of by someone/something. But I’ll check what you suggested. Thanks for now.
So I’ve updated the automation rules using your suggestion (slightly adjusting). That is good.
Something I did not say before is that during the HDO off, power to shelly is lost. So the device goes offline. THat can be seen on the 192.168.30.211 IP address as it gets disconnected.
WHat I observed is that HA can turn the device on, but it unable to turn it off. I have set switch off automation trigget at 6:05 PM and that run (see trace), but shelly did not get it.
THe only way that seems to work to fix it to initiate toggle on shelly which updates HA and then HA works.
I am thinking whether it is related to the shelly loosing power and then when coming up, it is not updated which then does something on HA side that fails to talk to it. I will try to adjust the automation to switch off before HDO goes off, so the HA has always right state.