Good Afternoon,
I have 1 Wyze door contact sensor and 2 motion sensors (Wyze and Aqara) for the garage.
Automation is to turn on Philips Hue garage lights (grouped) when door is open and if motion is detected and to stay on for 3 mins, but I cannot seem to get the configuration to work efficiently.
The motion sensors seem to be the issue I think…
*** I kept the Wyze door sensor independent and grouped the motion sensors ***
I appreciate any kind of assistance and guidance is getting this automation working.
- id: '1610129941871'
alias: 0A. TESTING GARAGE *ON*
description: ''
trigger:
- platform: state
entity_id: binary_sensor.wyzesense_77a57498
to: 'on'
- platform: state
entity_id: group.garage_motion
to: 'on'
condition: []
action:
- service: light.turn_on
data:
entity_id: group.garage_lights
brightness_pct: 100
mode: single
- id: '1610133301118'
alias: 0B. TESTING GARAGE *OFF*
description: ''
trigger:
- platform: state
entity_id: binary_sensor.wyzesense_77a57498
to: 'off'
for: 00:03:00
- platform: state
entity_id: group.garage_motion
to: 'off'
for: 00:03:00
condition: []
action:
- service: light.turn_off
data:
entity_id: group.garage_lights
mode: single