#Okay, so I know what's going wrong, and

1 messages · Page 1 of 1 (latest)

fierce rapids
#

What about something like this:

alias: Gen 3 AC Control
description: ""
trigger:
  - platform: state
    entity_id:
      - input_boolean.tog_br_ac_manual
      - input_boolean.tog_br_ac_di
      - input_boolean.tog_br_ac_eco
    to: "on"
condition: []
action:
  - if:
      - condition: template
        value_template: "{{ trigger.entity_id != 'input_boolean.tog_br_ac_eco'}}"
    then: 
      - service: input_boolean.turn_off
        target:
          entity_id:
            - input_boolean.tog_br_ac_eco
  - if:
      - condition: template
        value_template: "{{ trigger.entity_id != 'input_boolean.tog_br_ac_di'}}"
    then: 
      - service: input_boolean.turn_off
        target:
          entity_id:
            - input_boolean.tog_br_ac_di
  - if:
      - condition: template
        value_template: "{{ trigger.entity_id != 'input_boolean.tog_br_ac_manual'}}"
    then: 
      - service: input_boolean.turn_off
        target:
          entity_id:
            - input_boolean.tog_br_ac_manual
stable falcon
#

Let me finish my smoke and go inside to test, but if I'm following the script I think it will do what I needed. I'm still having trouble wrapping my head around the value templates and I wasn't sure how to call the trigger entity but if those are right from a syntax standpoint, it looks like it'll do what I want

stable falcon
#

yeah, I've used templates to make sensors (meausring VPD and heat index) but i don't think I've really used them in automations yet. Geez, keep wanting to call them scripts, but I think that's what you call them inside blueprints

stable falcon
#

now that i'm done and my cat has stopped rubbing all over me for 20 minutes because she loved the smell, the code did indeed work for those two buttons. Just need to add the last button and then code the actual changes that the mode buttons do

#

thank you!

#

oh. duh. somehow i misread that you did the whole thing. Thanks!