Automations not showing up

A long time user of HA (i believe since 0.2 something)
The problem i’m expreriencing is that some of the automations don’t show up in the automations editor (running the latest 2021.12) no matter what.

In the config file i have the following
automation: !include automations.yaml
automation old: !include_dir_merge_list automations

So let’s say i have automation A and automation B in the automations\AB.yaml
The A shows up but B doesn’t.
Changed the order - no result
Just moved the B automation into the automations.yaml - no result.
Changed the alias to the english letters. Nothing.
And it’s not one but several automations which just don’t show up
Example below

- id: 'vent_vsr500_mode_get'
  alias: vent_vsr500_mode_get
  description: 'Меняем режим в HA если изменили с панели'
  mode: single
  trigger:
  - platform: state
    entity_id: sensor.vsr500_mode_main
  - platform: state
    entity_id: sensor.vsr500_mode_speed
  action:
  - service: input_select.select_option
    target:
      entity_id: input_select.vent_vsr500_mode
    data_template:
      option: >
          {% if is_state("sensor.vsr500_mode_main", "1") and is_state("sensor.vsr500_mode_speed", "4") %} Высокая
          {% if is_state("sensor.vsr500_mode_main", "1") and is_state("sensor.vsr500_mode_speed", "3") %} Средняя
          {% if is_state("sensor.vsr500_mode_main", "1") and is_state("sensor.vsr500_mode_speed", "2") %} Низкая
          {% if is_state("sensor.vsr500_mode_main", "4") %} Проветривание
          {% if is_state("sensor.vsr500_mode_main", "5") %} Камин
          {% if is_state("sensor.vsr500_mode_main", "6") %} Отпуск
          {% if is_state("sensor.vsr500_mode_main", "7") %} Выключено
          {% endif %}

B is formatted incorrectly. It will cause everything below it to fail. Look in your logs for errors.

1 Like