Automation - difference between switch and lights?

I am trying to make an automation rule when pressing a Flic button running Home Assistant v 0.42.2
The following is in the automation code

automation:

  • alias: ‘God Morgon’
    trigger:
    platform: event
    event_type: flic_click
    event_data:
    button_name: flic_80e4da7255bd
    click_type: single
    action:
    service: homeassistant.toggle
    entity_id: group.ute

This works as long as I have a group that only consists of switches but as soon as i have a light that is member of the group it stop working.

I can get the following to work

action:
  service: light.turn_on
  entity_id: light.bedroom

But not

action:
  service: light.turn_off
  entity_id: light.bedroom

Why is it not possible to send toggle and off to a light component?

action:
  service: homeassistant.turn_off
  entity_id:
    - light.bedroom

Try that

action:
  service: homeassistant.turn_off
  entity_id:
    - light.bedroom

Doesn’t work

action:
  service: homeassistant.turn_on
  entity_id:
    - light.bedroom

That do work. Can’t make any sense out of this…

Lights take longer to turn off because they dim to turn off. Especially if you are going through wink, it will show the light as still being on while it is dimming it’s way towards off. Eventually it will send you another event telling you that the light is off, but it can take several seconds.
I’m having similar problems with group notifications too. Especially since the 0.42 upgrade.

A proper restart of Home Assistant and not only in the GUI seem to have helped the problem. Thank you all for your assistance.

A proper restart of Home Assistant and not only in the GUI seem to have helped the problem. Thank you all for your assistance