I’ve only just started using Home Assistant and I need some help.
I have a ceiling fan that I’m trying to control using a Logitech Harmony. I did get it working using these scripts
to turn fan on:
ceiling_fan_fan_medium:
alias: Fan Medium
sequence:
- service: remote.send_command
data:
entity_id: remote.harmony_hub
command:
- Fan Medium
device: Ceiling Fan
to turn fan off:
ceiling_fan_fan_off:
alias: Fan Off
sequence:
- service: remote.send_command
data:
entity_id: remote.harmony_hub
command:
- Fan Off
device: Ceiling Fan
But it’s not how I want it. It looks clean in the Home Assistant UI
I was wondering if anyone could help me turn those two scripts into one on and off switch for homekit. I’ve tried using ChatGPT to help me but it hasn’t worked lol.