2018-01-01 19:00:45 -05:00
######################################################################
## Dark House Little extra light - DARK and Cloudy or just rainy.
######################################################################
- alias : 'Dark House Little extra light'
2020-07-20 19:33:03 +01:00
id : cb94a5bb-7cb3-4e0d-a753-ace01af0bae4
2020-07-28 15:47:46 -04:00
mode : single
2018-01-01 19:00:45 -05:00
trigger :
2020-06-04 09:58:11 -04:00
- platform : state
entity_id : sensor.dark_sky_precip
to : 'rain'
2020-07-02 18:55:48 -04:00
- platform : numeric_state
entity_id : sensor.dark_sky_precip_intensity
above : 0.2
2020-07-28 15:47:46 -04:00
- platform : numeric_state
entity_id : sensor.blitzortung_lightning_counter
above : 1
2018-01-01 19:00:45 -05:00
- platform : state
entity_id : group.family
to : 'home'
from : 'not_home'
2020-06-04 09:51:40 -04:00
- platform : state
entity_id : binary_sensor.sleepnumber_carlo_carlo_is_in_bed
2020-06-04 09:54:14 -04:00
to : 'off'
for : "00:10:00"
2018-01-01 19:00:45 -05:00
condition :
condition : and
conditions :
- condition : or
conditions :
2020-06-03 17:32:55 -04:00
- condition : numeric_state
entity_id : sensor.dark_sky_cloud_coverage
above : 90
2020-07-02 18:55:48 -04:00
- condition : numeric_state
entity_id : sensor.dark_sky_precip_intensity
above : 0.2
2020-07-28 15:47:46 -04:00
- condition : numeric_state
entity_id : sensor.blitzortung_lightning_counter
above : 1
2018-01-01 19:00:45 -05:00
- condition : state
entity_id : binary_sensor.sleepnumber_carlo_carlo_is_in_bed
state : 'off'
- condition : state
entity_id : binary_sensor.sleepnumber_carlo_stacey_is_in_bed
state : 'off'
- condition : state
entity_id : sun.sun
state : 'above_horizon'
- condition : state
entity_id : group.family
state : 'home'
action :
- service : light.turn_on
2020-07-28 15:47:46 -04:00
data :
entity_id :
- light.living_room_lights
- light.living_room_accents
brightness : 255
kelvin : 5500
2020-07-31 10:30:17 -04:00
2018-01-01 19:00:45 -05:00
- service : script.speech_engine
2020-09-26 10:52:45 -04:00
data :
2020-09-15 17:26:05 -04:00
value1 : "It is getting a little dark inside the house because of the {{trigger.entity_id.split('_')[2]|replace('precip','rain')|replace('counter','lightning') }} {{trigger.entity_id.split('_')[3]|replace('intensity',' ')}} outside. I will turn on some extra lights in the living room."
2018-01-01 19:00:45 -05:00
call_window_check : 1
call_garage_check : 1
2020-07-28 15:47:46 -04:00
- delay :
2020-10-04 15:03:48 -04:00
hours : 3
2018-01-01 19:00:45 -05:00
######################################################################