Configuration.yaml Error

You need to use the binary sensor for what you want to do.

# Turn on kitchen light    
- alias: Turn on kitchen light when there is movement
  trigger:
    platform: state
    entity_id: binary_sensor.aeotec_zw100_multisensor_6_sensor
    to: 'on'
  action:
    service: homeassistant.turn_on
    entity_id: switch.telldus_tzwp100_plugin_switch_switch_4

- alias: Turn off kitchen light 10 minutes after last movement
  trigger:
    platform: state
    entity_id: binary_sensor.aeotec_zw100_multisensor_6_sensor
    to: 'off'
    for:
      minutes: 10
  action:
    service: homeassistant.turn_off
    entity_id: switch.telldus_tzwp100_plugin_switch_switch_4

Thanks ,
I’ll try this configuration.

I came across this error when I referenced a file that did not exist.

Copied my old config to a new setup and it referenced a separate config file that I had not brought over. In my case it was customize, my config referenced including customize.yaml but I had not yet brought over customize.yaml. So the error when checking configuration was configuration.yaml not found, but it was actually saying a file referenced in configuration.yaml, in this case customize.yaml, was missing. So I #’d the referenced file and the error went away.

Just sharing Incase someone else has this happen.