Automation Won't Execute Nodes After a Choose Block

EDIT: I’m an idiot. After a couple hours of messing with this, I finally had the realization that I am using the wrong sensor. I used “xxxx_current” and I should have been using “xxxx_power”. Made the change and it’s all working as intended now. derp.

I am trying to setup an automation to control a portable hvac unit using IR blaster and a power monitor. It’s a dumb unit so I have to be a bit creative.

Using a generic thermostat in HA, I want it to react to a change of state to an input_boolean helper (deciding whether to turn the system on or off). To turn on it needs to evaluate if the receptacle is turned on yet (if not, turn it on and wait 20 seconds for AC unit’s electronics to boot up), then send the IR commands to get it running.

When the current setup runs, it only executes most of the way through the logic, then skips the last two nodes that would actually send the IR codes. Why?

I realize i could just code the IR code commands into the two branches, but it’s more efficient coding to not have to do that… am I missing something obvious?

I’m running the latest HassOS and 2021.7.1 - just updated today.

id: '1625892659267'
alias: ServerRack AC Unit
description: >-
  Uses HA Generic Thermostat and helper entity
  (input_boolean.serveracthermostat) to turn the Portable AC unit on/off via IR
  blaster
trigger:
  - platform: state
    entity_id: input_boolean.serveracthermostat
    to: 'on'
  - platform: state
    entity_id: input_boolean.serveracthermostat
    to: 'off'
condition: []
action:
  - choose:
      - conditions:
          - condition: state
            entity_id: input_boolean.serveracthermostat
            state: 'on'
        sequence:
          - choose:
              - conditions:
                  - condition: device
                    type: is_on
                    device_id: 6075982edb05a9c57fb7abe3e8c98fde
                    entity_id: switch.serverac
                    domain: switch
                    for:
                      hours: 0
                      minutes: 0
                      seconds: 15
                      milliseconds: 0
                sequence: []
              - conditions:
                  - condition: device
                    type: is_off
                    device_id: 6075982edb05a9c57fb7abe3e8c98fde
                    entity_id: switch.serverac
                    domain: switch
                sequence:
                  - type: turn_on
                    device_id: 6075982edb05a9c57fb7abe3e8c98fde
                    entity_id: switch.serverac
                    domain: switch
                  - wait_for_trigger:
                      - platform: numeric_state
                        entity_id: sensor.serverac_energy_current
                        above: '0'
                        for: '00:00:20'
            default: []
          - service: remote.send_command
            data:
              device: ServerAirCon
              command: Power
            target:
              device_id: 70fac50f5adb8ce88acc7d7489281a3a
          - wait_for_trigger:
              - platform: numeric_state
                entity_id: sensor.serverac_energy_current
                above: '100'
            timeout: '00:03:00'
      - conditions:
          - condition: state
            entity_id: input_boolean.serveracthermostat
            state: 'off'
        sequence:
          - choose:
              - conditions:
                  - condition: numeric_state
                    entity_id: sensor.serverac_energy_current
                    above: '100'
                    attribute: unit_of_measurement
                sequence:
                  - service: remote.send_command
                    data:
                      device: ServerAirCon
                      command: Power
                    target:
                      device_id: 70fac50f5adb8ce88acc7d7489281a3a
                  - wait_for_trigger:
                      - platform: numeric_state
                        entity_id: sensor.serverac_energy_current
                        below: '100'
                    timeout: '00:01:00'
                  - type: turn_off
                    device_id: 6075982edb05a9c57fb7abe3e8c98fde
                    entity_id: switch.serverac
                    domain: switch
            default:
              - type: turn_off
                device_id: 6075982edb05a9c57fb7abe3e8c98fde
                entity_id: switch.serverac
                domain: switch
    default: []
mode: single