Hello, I’m trying to set up an automation to be controlled by a remote I created using SmartIR. I followed a tutorial by @antonio1475 (How to control dumb AC (Air Conditioner) and Fans via Tuya IR / RF Remote from HA) and got the AC working fine, but am stuck on the Fan scenes. I can get on and off working fine, but I want to define the low medium and high modes to the scenes. Please ket me know if there is anything I could do.
Code:
alias: TEST (Tuya Scenes)
description: “”
trigger:
- alias: On/Off
platform: state
entity_id:- fan.mroom
id: “off”
from: null
to: “off”
- fan.mroom
- alias: On/Off
platform: state
entity_id:- fan.mroom
id: “on”
from: null
to: “on”
condition:
action:
- fan.mroom
- choose:
- conditions:
- condition: trigger
id:- “off”
sequence:
- “off”
- service: scene.turn_on
data: {}
target:
entity_id: scene.fanmr_off
- condition: trigger
- conditions:
- condition: trigger
id:- “on”
sequence:
- “on”
- service: scene.turn_on
data: {}
target:
entity_id: scene.fanmr_speed_2
mode: single
- condition: trigger
- conditions: