this automation seems to have all the required fields:
- id: '1633285214111' alias: my kitchen motion description: Kitchen motion done right trigger: - platform: state entity_id: group.kitchen_motion to: 'on' - platform: numeric_state entity_id: sensor.shelly_motion_luminosity below: 40 condition: - condition: and conditions: - condition: numeric_state entity_id: sensor.shelly_motion_luminosity below: 40 - condition: state entity_id: group.kitchen_motion state: 'on' action: - service: light.turn_on target: group.kitchen_lights - wait_for_trigger: - platform: state entity_id: group.kitchen_motion from: 'on' to: 'off' - service: light.turn_off target: group.kitchen_lights
I am constantly getting this error:
Invalid config for [automation]: expected a dictionary for dictionary value @ data['action']['target']. Got None. (See ?, line ?).
I don’t know what it means. As far as I know, action.target has a value, so I can’t figure what it’s wrong with it.