P1P integration

This commit is contained in:
2026-06-08 19:40:58 +02:00
parent 77cd648d03
commit 09681d93bb
4 changed files with 47 additions and 10 deletions

View File

@@ -7,14 +7,12 @@ notifications_manager:
notifications:
back_home_notification:
recipients:
all:
services:
- notify/mobile_app_ipad_pro_11_de_pierre
conditions:
trigger_conditions:
- person.maeva == 'home'
- binary_sensor.is_bedroom_sleeping and (binary_sensor.hallway_motion or binary_sensor.corridor_motion or binary_sensor.bedroom_motion_bed_pierre)
blocking_conditions: not input_boolean.haw or not binary_sensor.someone_home
away:
services: notify/mobile_app_ipad_pro_11_de_pierre
conditions: input_boolean.haw and person.maeva == 'home' and not binary_sensor.is_bedroom_sleeping
sleeping:
services: notify/mobile_app_ipad_pro_11_de_pierre
conditions: input_boolean.haw and binary_sensor.is_bedroom_sleeping and (binary_sensor.hallway_motion or binary_sensor.corridor_motion or binary_sensor.bedroom_motion_bed_pierre)
message:
content: Bisous
@@ -23,8 +21,7 @@ notifications_manager:
leave_home_notification:
recipients:
all:
services:
- notify/mobile_app_macbook_m3_pro_de_pierre
services: notify/mobile_app_macbook_m3_pro_de_pierre
conditions: input_boolean.haw and person.maeva != 'home' and binary_sensor.someone_home
message: