From fd0769fd12b35135ca3f4a0b17a07707e5e99bac Mon Sep 17 00:00:00 2001 From: Pierre Date: Mon, 15 Jun 2026 18:52:40 +0200 Subject: [PATCH] Update p1p_light smart_conditions to include camera streaming and simplify blocking_conditions --- apps/rooms/garage.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/rooms/garage.yaml b/apps/rooms/garage.yaml index 0434663..4caeecc 100644 --- a/apps/rooms/garage.yaml +++ b/apps/rooms/garage.yaml @@ -14,8 +14,8 @@ p1p_light: smart_conditions: unavaibility_result: Disabled - trigger_conditions: binary_sensor.garage_occupancy or binary_sensor.garage_p1p_timelapse - blocking_conditions: not binary_sensor.p1p_is_printing and fan.garage_p1p_ventilateur_de_refroidissement <= 0 and fan.garage_p1p_ventilateur_de_la_chambre <= 0 + trigger_conditions: binary_sensor.garage_occupancy or binary_sensor.garage_p1p_timelapse or camera.garage_p1p_camera == 'streaming' + blocking_conditions: not binary_sensor.p1p_is_printing and not fan.garage_p1p_ventilateur_de_refroidissement and not fan.garage_p1p_ventilateur_de_la_chambre p1p_switch: module: smartswitch