I can control both switches without any problem from lovelace. As soon as I use an automation for the button, I can control switch one without any problem. However, the second switch doesn’t listen very well to the remote. I can use the remote to switch the second switch one time, and after this the whole system seems to be confused. After switching the second switch one time, I cannot control any of my switches anymore with the remote, neither from within lovelace. The whole system is unusable for approx half a minute.
Using another ikea button (shortcut button) this seems to work and the system does not “hang” for a moment.
I reused the same script, but changed the output device to an ikea switch. In this case everything seems to work fine. So the problem seems to be with the action device. However, the action device is working fine if I use the lovelace inteface.
Extremely strange. I bought a second sonoff switch, identical to the first one. If I use this switch in the automation, I have no problem at all. I removed the first switch, repaired it and gave it another name. Still same issue …
Were you ever able to resolve this. I am relatively new to HA and created some simple (as I thought) automations. Unfortunately one of them gets stuck in the still running state and it does not work any more till I restart HA.
I’m also having problems with automation freezing in ‘‘still running mode’’ indefinitely.
Disabling the automation to reset it won’t work and stay active, the only way I found around this is to restart zwavejs ui at which point the automation will finally log an error and stop.
Are your automations causing problems also using z-wave devices? Are you also using z-wave js ui? The only automations that will do that on my side are the ones using z-wave devices on zwave js ui…
Simple automation that turns off a light (it’s actually a light helper group consisting of two zwave light switches) if no motion is detected by a sensor for 15 minutes. The sensor is a helper group consisting of a zwave motion sensor and a zigbee motion sensor. Sometimes it works fine, sometimes it gets hung so later ones won’t run completely due to: Stopped because only a single execution is allowed at …
alias: No Motion - Turn off shop lights
description: ''
trigger:
- platform: state
entity_id:
- binary_sensor.shop_motion
to: 'off'
for:
hours: 0
minutes: 15
seconds: 0
condition: []
action:
- service: light.turn_off
data: {}
target:
entity_id: light.shop_lights
mode: single
Same here, this issue started within the last month, and is only occurring on automations that include a zwave wall outlet. The example below you can see it hung for 310secs before I realized half the lights were still on and retriggered it manually.