These sensors should hopefully prove more reliable #108

This commit is contained in:
2023-08-30 15:43:41 -04:00
parent dd320419cd
commit 0e9f646816
5 changed files with 36 additions and 77 deletions

View File

@ -209,12 +209,9 @@
description: Runs when family arrives at home
trigger:
- platform: state
entity_id: sensor.adults_home_fix
not_from:
- broken
- unavailable
- unknown
to: home
entity_id:
- binary_sensor.parents_home
to: 'on'
condition:
- condition: not
conditions:
@ -239,12 +236,9 @@
description: Runs when the family has left home
trigger:
- platform: state
entity_id: sensor.adults_home_fix
not_from:
- broken
- unavailable
- unknown
to: not_home
entity_id:
- binary_sensor.parents_home
to: 'off'
condition:
- condition: state
entity_id: input_boolean.guest_mode
@ -263,8 +257,8 @@
description: ''
trigger:
- platform: state
entity_id: group.adults
to: not_home
entity_id: binary_sensor.parents_home
to: 'off'
for:
hours: 1
minutes: 0