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'
|
- alias: 'Dark House Little extra light'
|
||||||
trigger:
|
trigger:
|
||||||
- platform: numeric_state
|
- platform: state
|
||||||
entity_id: sun.sun
|
entity_id: sun.sun
|
||||||
value_template: '{{ state.attributes.elevation }}'
|
to: below_horizon
|
||||||
below: 20.0
|
|
||||||
- platform: numeric_state
|
- platform: numeric_state
|
||||||
entity_id: sensor.dark_sky_cloud_coverage
|
entity_id: sensor.dark_sky_cloud_coverage
|
||||||
above: 90
|
above: 90
|
||||||
|
@ -24,12 +23,6 @@
|
||||||
conditions:
|
conditions:
|
||||||
- condition: or
|
- condition: or
|
||||||
conditions:
|
conditions:
|
||||||
- condition: and
|
|
||||||
conditions:
|
|
||||||
- condition: numeric_state
|
|
||||||
entity_id: sun.sun
|
|
||||||
value_template: '{{ state.attributes.elevation }}'
|
|
||||||
below: 20.0
|
|
||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
entity_id: sensor.dark_sky_cloud_coverage
|
entity_id: sensor.dark_sky_cloud_coverage
|
||||||
above: 90
|
above: 90
|
||||||
|
|
|
@ -59,6 +59,12 @@ automation:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.daylight_override
|
entity_id: input_boolean.daylight_override
|
||||||
state: 'on'
|
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:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
|
|
Loading…
Reference in New Issue