So a VERY simple automation. WIFI Tuya switch using Tuya in Core.
I know, it's Tuya, I don't expect much, but this is weird...
The automation is this:
- id: '1737881768447'
alias: Buttonize switch 3
description: ''
triggers:
- trigger: state
entity_id:
- switch.ks_811_3_switch_3
to: 'on'
conditions: []
actions:
- action: switch.turn_off
target:
entity_id: switch.ks_811_3_switch_3
data: {}
mode: single
Where in that automation does it say toggle, or turn on, or anything like this.
It only happens when I physically click the wakk switch. I can click it on the HA dashboard all day long and that never happens.
Thinking of adding a ridiculoud condition that the switch has to be on, I don't know...