I see the Broadlink switches component which allows you to have an on/off switch, but how can I setup to basically mimic button presses on a remote? Do you just fill in the ON value and leave the off blank?
For example, my curtains have three button: open, stop, close. Is this the best config to use?
- platform: broadlink
host: 192.168.3.91
mac: b4:43:0d:fc:1a:44
friendly_name: Bedroom IR
# type: rm_mini
switches:
curtains_open:
friendly_name: Curtains Open
command_on: 'switch_packet on'
command_off: ''
curtains_stop:
friendly_name: Curtains Stop
command_on: 'switch_packet on'
command_off: ''
curtains_close:
friendly_name: Curtains Close
command_on: 'switch_packet on'
command_off: ''