-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update configuration for new whyte-house deployment
- Loading branch information
Showing
35 changed files
with
942 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2021.10.1 | ||
2024.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
home-assistant/313a/automations/outdoor/tree_lights/turn-off-tree-lights.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
id: "1669714840315" | ||
alias: "outdoor: turn off tree lights at 10:00pm" | ||
description: "" | ||
trigger: | ||
- platform: time | ||
at: "22:00:00" | ||
- platform: homeassistant | ||
event: start | ||
condition: | ||
- condition: or | ||
conditions: | ||
- condition: sun | ||
before: sunset | ||
- condition: time | ||
after: "21:59:59" | ||
action: | ||
- service: light.turn_off | ||
data: {} | ||
target: | ||
entity_id: light.tree_lights | ||
mode: single |
13 changes: 13 additions & 0 deletions
13
home-assistant/313a/automations/outdoor/tree_lights/turn-on-tree-lights-at-sunset.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
id: "1669714700223" | ||
alias: "outdoor: turn tree lights on at sunset" | ||
description: "outdoor: turn tree lights on at sunset" | ||
trigger: | ||
- platform: sun | ||
event: sunset | ||
offset: 30 | ||
action: | ||
- service: light.turn_on | ||
data: {} | ||
target: | ||
entity_id: light.tree_lights | ||
mode: single |
27 changes: 27 additions & 0 deletions
27
home-assistant/313a/automations/quiet_room/quiet_room_fridge_freezer.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
id: "1588501846352" | ||
alias: when quiet room fridge or freezer door open for more than 5 minutes, send notification | ||
description: "" | ||
trigger: | ||
- device_id: a5ea6ad6759345c698658afb9c644309 | ||
domain: binary_sensor | ||
entity_id: binary_sensor.0x00158d000451d897_contact | ||
for: | ||
hours: 0 | ||
minutes: 5 | ||
seconds: 0 | ||
platform: device | ||
type: opened | ||
- device_id: 70146a3c3a6247d59063afbfeea3eb7f | ||
domain: binary_sensor | ||
entity_id: binary_sensor.0x00158d00049fb09a_contact | ||
for: | ||
hours: 0 | ||
minutes: 5 | ||
seconds: 0 | ||
platform: device | ||
type: opened | ||
condition: [] | ||
action: | ||
- data: | ||
message: The quiet room fridge or freezer has been left open | ||
service: notify.everyone |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
id: "1591600935265" | ||
alias: on UPS state change, send a notification | ||
description: "" | ||
trigger: | ||
- entity_id: sensor.ups_status | ||
platform: state | ||
condition: [] | ||
action: | ||
- data_template: | ||
message: > | ||
The UPS status changed to {{ trigger.from_state.state }} | ||
to {{ trigger.to_state.state }} | ||
service: notify.admins |
50 changes: 50 additions & 0 deletions
50
home-assistant/313a/blueprints/automation/homeassistant/motion_light.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
blueprint: | ||
name: Motion-activated Light | ||
description: Turn on a light when motion is detected. | ||
domain: automation | ||
source_url: https://github.com/home-assistant/core/blob/dev/homeassistant/components/automation/blueprints/motion_light.yaml | ||
input: | ||
motion_entity: | ||
name: Motion Sensor | ||
selector: | ||
entity: | ||
domain: binary_sensor | ||
device_class: motion | ||
light_target: | ||
name: Light | ||
selector: | ||
target: | ||
entity: | ||
domain: light | ||
no_motion_wait: | ||
name: Wait time | ||
description: Time to leave the light on after last motion is detected. | ||
default: 120 | ||
selector: | ||
number: | ||
min: 0 | ||
max: 3600 | ||
unit_of_measurement: seconds | ||
|
||
# If motion is detected within the delay, | ||
# we restart the script. | ||
mode: restart | ||
max_exceeded: silent | ||
|
||
trigger: | ||
platform: state | ||
entity_id: !input motion_entity | ||
from: "off" | ||
to: "on" | ||
|
||
action: | ||
- service: light.turn_on | ||
target: !input light_target | ||
- wait_for_trigger: | ||
platform: state | ||
entity_id: !input motion_entity | ||
from: "on" | ||
to: "off" | ||
- delay: !input no_motion_wait | ||
- service: light.turn_off | ||
target: !input light_target |
Oops, something went wrong.