Hi Team,
I have a motion sensor in the kitchen that I use to turn on the lights. It trippers a timer also so that in x amount of time the lights get turned off in another piece of automation.
However, once the motion has been executed once, I can’t seem to get it to pick up on the motion again. Even for X amount of time after the lights turn off it’s the same, the motion is not recognised.
Any ideas, what I am doing wrong?
alias: Kitchen Cupboard Lights - Lights On - Movement after Sunset
description: ''
trigger:
- platform: state
entity_id: binary_sensor.kitchen_sensor_motion_1_ias_zone
to: 'on'
condition:
- condition: or
conditions:
- condition: sun
after: sunset
after_offset: '00:00:00'
- condition: sun
before: sunrise
before_offset: '00:00:00'
action:
- service: light.turn_on
target:
entity_id: light.switch_hallway_cupboardlightstrip_on_off
- service: timer.start
data:
duration: '0'
target:
entity_id: timer.kitchen_under_cupboard_timer
- service: notify.gmail_notifcation_notifier
data:
title: 09 - Lights On
message: Kitchen Under Cupboard Lights Turned On / Reset Motion Time
mode: restart