My Automation seems to now all of a sudden since the last core update to start to turn itself off on its own and I have to keep going back into Automations to turn it back on and no clue what’s causing it to have just started to do this.
It’s wired up to a switch on the stairs for the bulb to come on after sunset with the sensor!
alias: Downstairs Light
description: ""
triggers:
- type: motion
device_id: afd13551afdbfcab82eb77c57d10ed9e
entity_id: 4e10ab35900c471b2d8fdcad6af3be7a
domain: binary_sensor
id: light-on
trigger: device
- type: no_motion
device_id: afd13551afdbfcab82eb77c57d10ed9e
entity_id: 4e10ab35900c471b2d8fdcad6af3be7a
domain: binary_sensor
id: light-off
for:
hours: 0
minutes: 3
seconds: 0
trigger: device
conditions: []
actions:
- choose:
- conditions:
- condition: trigger
id:
- light-on
- condition: sun
before: sunrise
after: sunset
sequence:
- data: {}
action: light.turn_on
target:
entity_id: light.down_stairs_light
- conditions:
- condition: trigger
id:
- light-off
sequence:
- data: {}
action: light.turn_off
target:
entity_id: light.down_stairs_light
mode: single
The Sensor is a Zigbee one from Aqara and the bulb is a AISIRER Alexa Smart Bulb WiFi Light Bulbs E27 Screw, 2 Pack, 10W 1000LM, App or Voice Control, 90W Dimmable White and RGBCW Colour Changing Light Bulb, Works with Alexa, Google Home, No Hub Required