Motion automation not firing

Can someone help, please. I have two fibaro motion sensors in my kitchen which I have added as a group in my group yaml file. This automation no longer turns on my lights and can’t see why.

type or pasalias: Kitchen Movement Lights On
description: ''
trigger:
  - platform: state
    from: 'off '
    to: 'on'
    entity_id: group.sensor
condition: []
action:
  - service: light.turn_on
    target:
      entity_id: light.kitchen_lights_group_phoscon_on
    data:
      transition: 1
mode: single

There is a space after 'off '. Maybe that causes it.

Thanks for that.

1 Like