tv now count as occupancy trigger

This commit is contained in:
Pierre committed 2026-10-17 22:48:09 +02:00
1 parent 8cc2ae32df
commit ce352ba7ef
1 file changed
+2 -1
+2 -1
View File
@@ -41,12 +41,13 @@ occupancy_sensors:
default_values: default_values:
binary_sensor.someone_home: off binary_sensor.someone_home: off
binary_sensor.projector_on: off binary_sensor.projector_on: off
binary_sensor.is_tv_on: off
sensors: sensors:
binary_sensor.living_room_occupancy: binary_sensor.living_room_occupancy:
trigger_conditions: trigger_conditions:
- sensor.living_room_last_motion <= 5 - sensor.living_room_last_motion <= 5
- binary_sensor.projector_on - binary_sensor.projector_on or binary_sensor.is_tv_on
binary_sensor.kitchen_occupancy: binary_sensor.kitchen_occupancy:
trigger_conditions: sensor.kitchen_last_motion <= 5 trigger_conditions: sensor.kitchen_last_motion <= 5
binary_sensor.garage_occupancy: binary_sensor.garage_occupancy: