I have tens of working automations and never had the problem them automatically being disabled. But few weeks back I made 2 simple ones with iPad using non yaml mode (first time using iPad to make automation) and they end up turning disabled daily. I enable them and next day they are disabled.
Finally I deleted them and created them again copy pasting it in yaml editor keeping the same name and other one was already disabled after saving it. I deleted them again and changed their names to be sure they are different from the perspective of Home Assistant and next day they were disabled again.
When they are enabled they work fine. The device and entity ids are right. Can’t find anything in log about this. History shows device being switched on/off when automation is enabled. Can’t understand how to solve this.
These are the automations:
alias: Asunto 1 - Lumiaallon huone PK 1.1.12.1 - Yövalo sammuta
description: “”
trigger:
- platform: time
at: “23:30:00”
condition: []
action: - type: turn_off
device_id: a869bcd3f0748d2c4d84e0a7a8f1d1e2
entity_id: switch.lumiaallon_huone_pk_1_1_12_1
domain: switch
mode: single
alias: Asunto 1 - Lumiaallon huone PK 1.1.12.1 - Yövalo sytytä
description: “”
trigger:
- platform: time
at: “21:00:00”
condition: []
action: - type: turn_on
device_id: a869bcd3f0748d2c4d84e0a7a8f1d1e2
entity_id: switch.lumiaallon_huone_pk_1_1_12_1
domain: switch
mode: single
Home Assistant version is 2023.5.4 (updated twice during the problem occuring) on Docker.
Device is on Zigbee2MQTT latest version also on Docker and physically is Ikea’s power socket controller.
In Zigbee2MQTT everything is fine also.
Mosquitto also latest version running on Docker.
Also I have other identical devices using automations and they all work fine.
Can anybody give some directions how to fix this?