Change illuminance sensor for lights
This commit is contained in:
parent
74dc8c443d
commit
1364a6c449
6 changed files with 18 additions and 18 deletions
|
@ -34,7 +34,7 @@
|
||||||
to: "on"
|
to: "on"
|
||||||
condition:
|
condition:
|
||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
entity_id: sensor.office_illuminance
|
entity_id: sensor.outside_sensor_illuminance
|
||||||
below: '400'
|
below: '400'
|
||||||
action:
|
action:
|
||||||
- service: script.hallway_lights_on
|
- service: script.hallway_lights_on
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
- choose:
|
- choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
entity_id: sensor.office_illuminance
|
entity_id: sensor.outside_sensor_illuminance
|
||||||
below: '350'
|
below: '350'
|
||||||
sequence:
|
sequence:
|
||||||
- service: script.kitchen_lights_on
|
- service: script.kitchen_lights_on
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
- choose:
|
- choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
entity_id: sensor.office_illuminance
|
entity_id: sensor.outside_sensor_illuminance
|
||||||
below: '200'
|
below: '200'
|
||||||
sequence:
|
sequence:
|
||||||
- service: script.living_room_lights_on
|
- service: script.living_room_lights_on
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: numeric_state
|
- platform: numeric_state
|
||||||
entity_id: sensor.office_illuminance
|
entity_id: sensor.outside_sensor_illuminance
|
||||||
below: '25'
|
below: '25'
|
||||||
for:
|
for:
|
||||||
hours: 0
|
hours: 0
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: numeric_state
|
- platform: numeric_state
|
||||||
entity_id: sensor.office_illuminance
|
entity_id: sensor.outside_sensor_illuminance
|
||||||
below: '200'
|
below: '200'
|
||||||
for:
|
for:
|
||||||
hours: 0
|
hours: 0
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: numeric_state
|
- platform: numeric_state
|
||||||
entity_id: sensor.office_illuminance
|
entity_id: sensor.outside_sensor_illuminance
|
||||||
above: '250'
|
above: '250'
|
||||||
for:
|
for:
|
||||||
hours: 0
|
hours: 0
|
||||||
|
@ -75,33 +75,33 @@
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: numeric_state
|
- platform: numeric_state
|
||||||
entity_id: sensor.office_illuminance
|
entity_id: sensor.outside_sensor_illuminance
|
||||||
above: '30'
|
above: '30'
|
||||||
below: '2000'
|
below: '500'
|
||||||
for:
|
for:
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 0
|
minutes: 0
|
||||||
seconds: 30
|
seconds: 30
|
||||||
- platform: numeric_state
|
- platform: numeric_state
|
||||||
entity_id: sensor.office_illuminance
|
entity_id: sensor.outside_sensor_illuminance
|
||||||
above: '30'
|
above: '30'
|
||||||
below: '2000'
|
below: '500'
|
||||||
for:
|
for:
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 1
|
minutes: 1
|
||||||
seconds: 0
|
seconds: 0
|
||||||
- platform: numeric_state
|
- platform: numeric_state
|
||||||
entity_id: sensor.office_illuminance
|
entity_id: sensor.outside_sensor_illuminance
|
||||||
above: '30'
|
above: '30'
|
||||||
below: '2000'
|
below: '500'
|
||||||
for:
|
for:
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 2
|
minutes: 2
|
||||||
seconds: 0
|
seconds: 0
|
||||||
- platform: numeric_state
|
- platform: numeric_state
|
||||||
entity_id: sensor.office_illuminance
|
entity_id: sensor.outside_sensor_illuminance
|
||||||
above: '30'
|
above: '30'
|
||||||
below: '2000'
|
below: '500'
|
||||||
for:
|
for:
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 3
|
minutes: 3
|
||||||
|
@ -135,8 +135,8 @@
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: numeric_state
|
- platform: numeric_state
|
||||||
entity_id: sensor.office_illuminance
|
entity_id: sensor.outside_sensor_illuminance
|
||||||
above: '2500'
|
above: '600'
|
||||||
for:
|
for:
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 1
|
minutes: 1
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
- choose:
|
- choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
entity_id: sensor.office_illuminance
|
entity_id: sensor.outside_sensor_illuminance
|
||||||
below: '200'
|
below: '200'
|
||||||
sequence:
|
sequence:
|
||||||
- service: script.office_lights_on
|
- service: script.office_lights_on
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
- choose:
|
- choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
entity_id: sensor.office_illuminance
|
entity_id: sensor.outside_sensor_illuminance
|
||||||
below: '200'
|
below: '200'
|
||||||
sequence:
|
sequence:
|
||||||
- service: script.table_lights_on
|
- service: script.table_lights_on
|
||||||
|
|
Loading…
Reference in a new issue