Hi,
Could anybody tell me how to create a binary template sensor that is on when a certain motion sensor has been off for 10 minutes?
Thx
Hi,
Could anybody tell me how to create a binary template sensor that is on when a certain motion sensor has been off for 10 minutes?
Thx
binary_sensor:
- platform: template
sensors:
motion_off_10_min:
friendly_name: "No Motion 10 min"
delay_on:
minutes: 10
value_template: >
{{ is_state('binary_sensor.your_motion_sensor', 'off') }}
Thanks a lot!
Shouldn’t that be 'off'
instead of 'on'
?
binary template sensor that is on when a certain motion sensor has been off for 10 minutes?
Or have I misunderstood it?
Of course, fixed.
Was just about to write the same. Thanks