1
0
Fork 0

Change illuminance sensor for lights

This commit is contained in:
Przemek Grondek 2025-01-06 01:03:15 +01:00
parent 74dc8c443d
commit 1364a6c449
6 changed files with 18 additions and 18 deletions

View file

@ -34,7 +34,7 @@
to: "on"
condition:
- condition: numeric_state
entity_id: sensor.office_illuminance
entity_id: sensor.outside_sensor_illuminance
below: '400'
action:
- service: script.hallway_lights_on

View file

@ -16,7 +16,7 @@
- choose:
- conditions:
- condition: numeric_state
entity_id: sensor.office_illuminance
entity_id: sensor.outside_sensor_illuminance
below: '350'
sequence:
- service: script.kitchen_lights_on

View file

@ -9,7 +9,7 @@
- choose:
- conditions:
- condition: numeric_state
entity_id: sensor.office_illuminance
entity_id: sensor.outside_sensor_illuminance
below: '200'
sequence:
- service: script.living_room_lights_on

View file

@ -3,7 +3,7 @@
mode: single
trigger:
- platform: numeric_state
entity_id: sensor.office_illuminance
entity_id: sensor.outside_sensor_illuminance
below: '25'
for:
hours: 0
@ -25,7 +25,7 @@
mode: single
trigger:
- platform: numeric_state
entity_id: sensor.office_illuminance
entity_id: sensor.outside_sensor_illuminance
below: '200'
for:
hours: 0
@ -57,7 +57,7 @@
mode: single
trigger:
- platform: numeric_state
entity_id: sensor.office_illuminance
entity_id: sensor.outside_sensor_illuminance
above: '250'
for:
hours: 0
@ -75,33 +75,33 @@
mode: single
trigger:
- platform: numeric_state
entity_id: sensor.office_illuminance
entity_id: sensor.outside_sensor_illuminance
above: '30'
below: '2000'
below: '500'
for:
hours: 0
minutes: 0
seconds: 30
- platform: numeric_state
entity_id: sensor.office_illuminance
entity_id: sensor.outside_sensor_illuminance
above: '30'
below: '2000'
below: '500'
for:
hours: 0
minutes: 1
seconds: 0
- platform: numeric_state
entity_id: sensor.office_illuminance
entity_id: sensor.outside_sensor_illuminance
above: '30'
below: '2000'
below: '500'
for:
hours: 0
minutes: 2
seconds: 0
- platform: numeric_state
entity_id: sensor.office_illuminance
entity_id: sensor.outside_sensor_illuminance
above: '30'
below: '2000'
below: '500'
for:
hours: 0
minutes: 3
@ -135,8 +135,8 @@
mode: single
trigger:
- platform: numeric_state
entity_id: sensor.office_illuminance
above: '2500'
entity_id: sensor.outside_sensor_illuminance
above: '600'
for:
hours: 0
minutes: 1

View file

@ -9,7 +9,7 @@
- choose:
- conditions:
- condition: numeric_state
entity_id: sensor.office_illuminance
entity_id: sensor.outside_sensor_illuminance
below: '200'
sequence:
- service: script.office_lights_on

View file

@ -9,7 +9,7 @@
- choose:
- conditions:
- condition: numeric_state
entity_id: sensor.office_illuminance
entity_id: sensor.outside_sensor_illuminance
below: '200'
sequence:
- service: script.table_lights_on