Update p1p_light smart_conditions to include camera streaming and simplify blocking_conditions
This commit is contained in:
@@ -14,8 +14,8 @@ p1p_light:
|
|||||||
|
|
||||||
smart_conditions:
|
smart_conditions:
|
||||||
unavaibility_result: Disabled
|
unavaibility_result: Disabled
|
||||||
trigger_conditions: binary_sensor.garage_occupancy or binary_sensor.garage_p1p_timelapse
|
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 fan.garage_p1p_ventilateur_de_refroidissement <= 0 and fan.garage_p1p_ventilateur_de_la_chambre <= 0
|
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:
|
p1p_switch:
|
||||||
module: smartswitch
|
module: smartswitch
|
||||||
|
|||||||
Reference in New Issue
Block a user