Change brightness values for automation add condition at home
This commit is contained in:
parent
b0f377ab35
commit
1de8b284cc
@ -9,6 +9,10 @@
|
||||
hours: 0
|
||||
minutes: 1
|
||||
seconds: 0
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_select.home_mode
|
||||
state: Day
|
||||
action:
|
||||
- service: cover.close_cover
|
||||
target:
|
||||
@ -56,6 +60,10 @@
|
||||
hours: 0
|
||||
minutes: 1
|
||||
seconds: 0
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_select.home_mode
|
||||
state: Day
|
||||
action:
|
||||
- service: script.office_lights_off
|
||||
|
||||
@ -66,7 +74,7 @@
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.office_illuminance
|
||||
above: '30'
|
||||
below: '150'
|
||||
below: '800'
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 0
|
||||
@ -74,7 +82,7 @@
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.office_illuminance
|
||||
above: '30'
|
||||
below: '150'
|
||||
below: '800'
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 1
|
||||
@ -82,7 +90,7 @@
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.office_illuminance
|
||||
above: '30'
|
||||
below: '150'
|
||||
below: '800'
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 2
|
||||
@ -90,11 +98,15 @@
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.office_illuminance
|
||||
above: '30'
|
||||
below: '150'
|
||||
below: '800'
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 3
|
||||
seconds: 0
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_select.home_mode
|
||||
state: Day
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
@ -126,6 +138,10 @@
|
||||
hours: 0
|
||||
minutes: 1
|
||||
seconds: 0
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_select.home_mode
|
||||
state: Day
|
||||
action:
|
||||
- service: cover.close_cover
|
||||
target:
|
||||
|
Loading…
Reference in New Issue
Block a user