mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-08-16 11:14:44 +00:00
Added Red Alert lighting to security response
This commit is contained in:
@@ -27,4 +27,33 @@ lr_sengled_transistion_off:
|
||||
data:
|
||||
entity_id: light.tower_lamp_2
|
||||
brightness_pct: 0
|
||||
transition: 60
|
||||
transition: 60
|
||||
|
||||
# Turn on Living Room Lights if sun is down or cloud coverage is above 70%
|
||||
livingroom_lamps_on:
|
||||
sequence:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: sun.sun
|
||||
state: 'below_horizon'
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.dark_sky_cloud_coverage
|
||||
above: 70
|
||||
- service: scene.turn_on
|
||||
entity_id: scene.normal_livingroom_lighting
|
||||
|
||||
# Turn off Living Room Lights if sun is up or cloud coverage is below 70%
|
||||
livingroom_lamps_off:
|
||||
sequence:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: sun.sun
|
||||
state: 'above_horizon'
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.dark_sky_cloud_coverage
|
||||
below: 70
|
||||
- service: group.turn_off
|
||||
entity_id: group.livingroom_lamps
|
||||
|
||||
|
Reference in New Issue
Block a user