I have installed Home Assistant on a raspberry pie, and i have successfully added all my hue lamps as well as my wemo plugs and motion sensors.
I want to make some hue bulbs or a scene turn on with the motion sensor. I tried using information from this post: Belkin Wemo motion sensor and philips hue but without any luck.
I can see my motion sensor picking up motion, and i can control my hue lamps manually. I just cannot get the automation to work.
My script looks like this:
automation :
alias : turn on light after motion sensor
trigger :
platform : state
entity_id : binary_sensor.wemo_motion
state : on
action :
service : light.turn_on
entity_id : light.bedroom