#Is there a way to add aliases to conditions in the automation debug screen

6 messages · Page 1 of 1 (latest)

ornate stream
#

I was hoping there was a way i could define my conditions with aliases or something

Translating from this YAML

action:
  - choose:
      - conditions:
          - condition: trigger
            id:
              - open
        sequence:
          - data: {}
            target:
              area_id: garage
            action: light.turn_on
      - conditions:
          - condition: and
            conditions:
              - type: is_not_open
                condition: device
                device_id: ded49cef15748360fe58510cf025d8a6
                entity_id: 4a07db88b6a6c1640588a4cdae329363
                domain: binary_sensor
              - condition: device
                device_id: 71962f6e7f702bc6da7c7dc041b03496
                domain: cover
                entity_id: 3fb873a0979b669f0d521947d92f87b5
                type: is_closed
              - condition: trigger
                id:
                  - close
        sequence:
          - delay:
              hours: 0
              minutes: 5
              seconds: 0
              milliseconds: 0
          - data: {}
            target:
              device_id:
                - e5f4df532517e28dc806a5f15bda82f4
                - 71962f6e7f702bc6da7c7dc041b03496
            action: light.turn_off

To the "Step Details" is really akward i feel like

mental pollen
north star
#

You can provide aliases

#

In the GUI it's called rename

#

In YAML it's alias

condition: device
type: is_off
device_id: b9af71b45c52adc568374f48df130fa8
entity_id: b9dc443909c9b9ab7e38435b0efce2ab
domain: switch
alias: Test alias
ornate stream
#

Do these alias come out when you look at the automatio "flow"?