Closes #757 - Made some changes to be more aggressive on the lighting when it's raining.

This commit is contained in:
ccostan 2020-06-03 17:32:55 -04:00
parent e55a51bc08
commit b623d6ddb2
2 changed files with 11 additions and 12 deletions

View File

@ -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,12 +23,6 @@
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

View File

@ -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