Flic automation just...stopped working!

Hi all. I have a a HA running on my Pi and have had for a good few months. A few Hive lights and sensors, and a couple of flic buttons are the bulk of it.

All was working fine until I upgraded to 0.86.4 (and now I’ve gone to 0.89.1 too and same problem) and then automations have just stopped working.

The flic buttons are both showing in HA and register the press when you actually press the thing, and no errors are showing in the logs. Sio I’m a bit stumped as to what’s going on. The automations are here:

- id: front_door_lights
  alias: Turn all the lights off when the front door flic is pressed
  trigger:
  - event_data:
      button_name: flic_80e4da741f01
      click_type: single
    event_type: flic_click
    platform: event
  action:
    service: light.turn_off
    entity_id:
      - light.kitchen
      - light.dining_room
      - light.bedroom_corner
      - light.bedroom_door
      - light.lr_corner
      - light.lr_main


- id: bedroom_lights
  alias: Turn all the lights off when the bedroom flic is pressed
  trigger:
  - event_data:
      button_name: flic_80e4da73b925
      click_type: single
    event_type: flic_click
    platform: event
  action:
    service: light.turn_off
    entity_id:
      - group.all_lights(homeassistant)

Note the two different entity_ids - just me playing around with groups, but both always used to work fine - now neither!

Can anyone suggest anything? bit tricky when the logs are showing fine…

Thanks,
Ed

And there are no errors? try adding initial_state: true to both automations and restart HA. Like so;

- id: front_door_lights
  alias: Turn all the lights off when the front door flic is pressed
  initial_state: true
  trigger:
  - event_data:
      button_name: flic_80e4da741f01
      click_type: single
    event_type: flic_click
    platform: event
  action:
    service: light.turn_off
    entity_id:
      - light.kitchen
      - light.dining_room
      - light.bedroom_corner
      - light.bedroom_door
      - light.lr_corner
      - light.lr_main


- id: bedroom_lights
  alias: Turn all the lights off when the bedroom flic is pressed
  initial_state: true
  trigger:
  - event_data:
      button_name: flic_80e4da73b925
      click_type: single
    event_type: flic_click
    platform: event
  action:
    service: light.turn_off
    entity_id:
      - group.all_lights(homeassistant)

That seems to have done it, thank you! :slightly_smiling_face: