Added Red Alert lighting to security response
This commit is contained in:
parent
ae10320108
commit
b15a18d225
|
@ -226,6 +226,8 @@ automation:
|
||||||
action:
|
action:
|
||||||
- service: script.turn_on
|
- service: script.turn_on
|
||||||
entity_id: script.security_response
|
entity_id: script.security_response
|
||||||
|
- service: scene.turn_on
|
||||||
|
entity_id: scene.lr_red
|
||||||
|
|
||||||
- id: security_response_off
|
- id: security_response_off
|
||||||
alias: Security Response Off
|
alias: Security Response Off
|
||||||
|
@ -240,6 +242,10 @@ automation:
|
||||||
entity_id: script.security_response
|
entity_id: script.security_response
|
||||||
- service: media_player.media_stop
|
- service: media_player.media_stop
|
||||||
entity_id: media_player.theater
|
entity_id: media_player.theater
|
||||||
|
- service: scene.turn_on
|
||||||
|
entity_id: scene.lr_red
|
||||||
|
- service: script.livingroom_lamps_on
|
||||||
|
- service: script.livingroom_lamps_off
|
||||||
|
|
||||||
- id: sentry_mode_enabled
|
- id: sentry_mode_enabled
|
||||||
alias: Sentry Mode Enabled Annoucement
|
alias: Sentry Mode Enabled Annoucement
|
||||||
|
@ -257,7 +263,8 @@ automation:
|
||||||
"Barn door protocol has been activated.",
|
"Barn door protocol has been activated.",
|
||||||
"Anchorage House has been secured! ",
|
"Anchorage House has been secured! ",
|
||||||
"Sentry Mode is active. ",
|
"Sentry Mode is active. ",
|
||||||
"I am now monitoring the doors and will let you know if anyone attempts to access."
|
"I am now monitoring the doors and will let you know if anyone attempts to access.",
|
||||||
|
"Anchorage House Shields are up."
|
||||||
] | random }}
|
] | random }}
|
||||||
|
|
||||||
- id: sentry_mode_disabled
|
- id: sentry_mode_disabled
|
||||||
|
@ -275,7 +282,8 @@ automation:
|
||||||
{{ [
|
{{ [
|
||||||
"Barn door protocol has been deactivated.",
|
"Barn door protocol has been deactivated.",
|
||||||
"I am no longer monitoring the access points. ",
|
"I am no longer monitoring the access points. ",
|
||||||
"Sentry Mode has been disabled. "
|
"Sentry Mode has been disabled. ",
|
||||||
|
"Anchorage House Shields are down."
|
||||||
] | random }}
|
] | random }}
|
||||||
|
|
||||||
- id: guest_mode_feedback
|
- id: guest_mode_feedback
|
||||||
|
|
|
@ -259,3 +259,10 @@
|
||||||
state: on
|
state: on
|
||||||
brightness_pct: 100
|
brightness_pct: 100
|
||||||
color_name: "blue"
|
color_name: "blue"
|
||||||
|
|
||||||
|
- name : lr_red
|
||||||
|
entities:
|
||||||
|
group.rgb_lr:
|
||||||
|
state: on
|
||||||
|
brightness_pct: 100
|
||||||
|
rgb_color: [255,40,0]
|
|
@ -28,3 +28,32 @@ lr_sengled_transistion_off:
|
||||||
entity_id: light.tower_lamp_2
|
entity_id: light.tower_lamp_2
|
||||||
brightness_pct: 0
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue