Automations doesn't work anymore

Hey,

Today I was updating Home Assistant from Version 0.82 to 0.85. I had to modify the configuration.yaml a little.

What bothers me is that all of a sudden all the automations doesn’t work anymore and I don’t know why.
They are probably loaded and there is also no error in the log file.
So I don’t know what to do.

Lookup your automations in Dev Tools/states an see if they are enabled (on).

No, they weren’t triggerd.

I have deleted all automations except this one:

- id: motion_at_night
  alias: Turn on hall light when movement at night
  trigger:
  - platform: state
    entity_id: binary_sensor.pir_hall
    to: 'on'
  action:
  - service: light.turn_on
    data:
      entity_id: light.hall
      rgb_color: [255,0,0]
      brightness_pct: 20

It’s loaded and can be seen in the panel, but even this doesn’t work, although binary_sensor.pir_hall is on according to Dev Tools/states

Did you try calling this from the service tool:

  • Service: automation.turn_on
  • Entity: group.all_automations
  • Service data:
    {
    “entity_id”: “group.all_automations”
    }

“triggered” is different than “enabled”. What is the state of the automations, ‘on’ or ‘off’?

If the state is ‘off’ then that means they aren’t enabled and therefore can’t ever be triggered.

With 0.83 all automations are needing the option initial_state: true.
If this is not there, you have the switch them on manually.

- id: '1'
  alias: My automation
  initial_state: true
1 Like