I know there are more similar topics but in those I didn’t find a solution for my problem:
I have two automations to control a smart socket (Tuya-WOOX) that is connected to an electric blanket. In the first one the trigger is a button-press Zigbee) and the action the toggle of the smart socket. This works, also when I am standing next to the socket with the button in my hand [my conclusion: both are within reach (Zigbee/WiFi)].
In the second one the trigger is a point of time (05:00:00) and the action is the switching off of the same smart socket. This one doesn’t work and generates an error message (see title) in the log file.
Yaml of the first automation:
alias: Knop 7 - Electric Blanket - Toggle
description: ""
triggers:
- domain: mqtt
device_id: 47a8a4ef7873572d8a0c9081b60e05fc
type: action
subtype: single
trigger: device
conditions: []
actions:
- type: toggle
device_id: 0c7063d8c3cf394cc0e944f0e2863fcb
entity_id: 172c8be6b4e60dedfae3adca82f7c273
domain: switch
mode: single
Yaml of the second automation:
alias: Electric Blanket 05:00 - OFF
description: ""
triggers:
- trigger: time_pattern
hours: "05"
minutes: "00"
seconds: "00"
conditions: []
actions:
- type: turn_off
device_id: 0c7063d8c3cf394cc0e944f0e2863fcb
entity_id: 172c8be6b4e60dedfae3adca82f7c273
domain: switch
mode: single
In both cases the actions are similar, so I don’t understand why the action in the second automation gives an error message.
1 post - 1 participant