#Toggle for Ecobee Fan

1 messages · Page 1 of 1 (latest)

vocal orchid
#

I'm trying to create a simple toggle for my ecobee HVAC fan. I have a button right now that can turn it on but it's not a toggle. In looking online, it looks like I need a script maybe but need assistance figure it out. My working button code looks like this:

      - type: custom:vertical-stack-in-card
        cards:
          - type: horizontal-stack
            cards:
              - type: custom:button-card
                icon: mdi:fan
                name: Fan
                tap_action:
                  action: call-service
                  service: climate.set_fan_mode
                  service_data:
                    entity_id: climate.home
                    fan_mode: 'on'
odd tulip