Hi, I’m having trouble stopping the fan after an automation starts. I’m unable to stop it using the button, though I can turn it off with the switch. Does anyone know why this might be happening or how to fix it?
alias: Fan Kitchen ON/OFF
description: ""
triggers:
- device_id: 90938902a406a240c9994c82ec522939
domain: zha
type: remote_button_short_press
subtype: right
trigger: device
conditions: []
actions:
- if:
- condition: device
type: is_on
device_id: 84f060b4f4fdc54dbadeb2c61afae30f
entity_id: cba0b640cd58169c86f6e5762148f2a3
domain: switch
then:
- type: turn_off
device_id: 84f060b4f4fdc54dbadeb2c61afae30f
entity_id: cba0b640cd58169c86f6e5762148f2a3
domain: switch
else:
- type: turn_on
device_id: 84f060b4f4fdc54dbadeb2c61afae30f
entity_id: cba0b640cd58169c86f6e5762148f2a3
domain: switch
- delay:
hours: 0
minutes: 15
seconds: 0
milliseconds: 0
- type: turn_off
device_id: 84f060b4f4fdc54dbadeb2c61afae30f
entity_id: cba0b640cd58169c86f6e5762148f2a3
domain: switch
mode: single