I have a Philips Hue Motion Sensor and a Philips Hue bulb that I’m trying to create an automation where if it’s after sunset and motion is detected it turns on the Philips Hue bulb.
Pretty simple, I believe I’ve done the automation correctly but it just doesn’t work. There is a default automation in Home Assistant but likewise just doesn’t work.
Hoping someone has an easy fix?
alias: Car Port Light Motion Automation description: "" trigger: - type: motion platform: device device_id: xxxxx entity_id: binary_sensor.philips_sml001_motion domain: binary_sensor condition: - condition: sun before: sunrise after: sunset action: - type: turn_on device_id: xxxxxx entity_id: light.philips_lca001_huelight domain: light brightness_pct: 100 - delay: hours: 0 minutes: 2 seconds: 0 milliseconds: 0 - type: turn_off device_id: xxxxxxx entity_id: light.philips_lca001_huelight domain: light mode: single