Closes #757 - Made some changes to be more aggressive on the lighting when it's raining.
This commit is contained in:
parent
e55a51bc08
commit
b623d6ddb2
|
@ -4,10 +4,9 @@
|
|||
|
||||
- alias: 'Dark House Little extra light'
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
- platform: state
|
||||
entity_id: sun.sun
|
||||
value_template: '{{ state.attributes.elevation }}'
|
||||
below: 20.0
|
||||
to: below_horizon
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.dark_sky_cloud_coverage
|
||||
above: 90
|
||||
|
@ -24,15 +23,9 @@
|
|||
conditions:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: numeric_state
|
||||
entity_id: sun.sun
|
||||
value_template: '{{ state.attributes.elevation }}'
|
||||
below: 20.0
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.dark_sky_cloud_coverage
|
||||
above: 90
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.dark_sky_cloud_coverage
|
||||
above: 90
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.dark_sky_precip_intensity
|
||||
above: 1
|
||||
|
|
|
@ -59,6 +59,12 @@ automation:
|
|||
- condition: state
|
||||
entity_id: input_boolean.daylight_override
|
||||
state: 'on'
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.dark_sky_cloud_coverage
|
||||
above: 90
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.dark_sky_precip_intensity
|
||||
above: 1
|
||||
|
||||
action:
|
||||
- service: light.turn_on
|
||||
|
|
Loading…
Reference in New Issue