tweak light and projection screen auto close timing

This commit is contained in:
Pierre committed 2026-11-12 22:51:54 +01:00
1 parent 9802982d73
commit 5ef7b27448
1 file changed
+6 -6
+6 -6
View File
@@ -87,22 +87,22 @@ virtual_sensors:
# living room sensors # living room sensors
value_selector.living_room_ambiance_light: value_selector.living_room_ambiance_light:
values: values:
0: 0: #0 off
- not binary_sensor.living_room_occupancy - not binary_sensor.living_room_occupancy
- binary_sensor.projector_on and not binary_sensor.is_vertex2_content_idle - binary_sensor.projector_on and not binary_sensor.is_vertex2_content_idle
- binary_sensor.is_tv_on - binary_sensor.is_tv_on
- light.living_room - light.living_room
- sensor.mezzanine_motion_light_level > 15 - "sensor.mezzanine_motion_light_level > (self == 0 ? 15 : 20)"
- binary_sensor.is_living_room_sleeping - binary_sensor.is_living_room_sleeping
1: 1: # dimmed
- binary_sensor.is_everybody_sleeping - binary_sensor.is_everybody_sleeping
- binary_sensor.projector_on - binary_sensor.projector_on
2: true 2: true #full
# home cinema sensors # home cinema sensors
binary_sensor.projector_on: switch.living_room_projector_plug and sensor.living_room_projector_plug_power > 50 binary_sensor.projector_on: switch.projector #switch.living_room_projector_plug and sensor.living_room_projector_plug_power > 50
continuous_condition.projector_off_for_a_while: continuous_condition.projector_off_for_a_while:
time: 90 time: 300
default_value: on default_value: on
conditions: not binary_sensor.projector_on conditions: not binary_sensor.projector_on
# is_apple_tv_on is not reliable as the the apple tv integration sometimes return "paused" when it's actually off, # is_apple_tv_on is not reliable as the the apple tv integration sometimes return "paused" when it's actually off,