-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: introduce blueprint for warm outside automation
- Loading branch information
Showing
5 changed files
with
68 additions
and
26 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
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,45 @@ | ||
blueprint: | ||
name: Warmer outside | ||
description: Send notification if warmer outside | ||
domain: automation | ||
input: | ||
out_vs_in: | ||
name: Diff Temperature Sensor | ||
description: The sensor calulating the diff betwenn a specific room and outdoor temperature | ||
selector: | ||
entity: | ||
domain: sensor | ||
input_group_windows: | ||
name: Open Windows | ||
description: The group of windows in the room | ||
selector: | ||
entity: | ||
domain: binary_sensor | ||
device_class: opening | ||
room_name: | ||
name: Roomname | ||
description: Name of the room | ||
selector: | ||
text: | ||
|
||
trigger: | ||
platform: numeric_state | ||
entity_id: !input out_vs_in | ||
above: 0 | ||
condition: | ||
condition: and | ||
conditions: | ||
- condition: state | ||
entity_id: group.personen | ||
state: "home" | ||
- condition: numeric_state | ||
entity_id: "sensor.outdoor_temperature" | ||
above: "20" | ||
- condition: state | ||
entity_id: !input input_group_windows | ||
state: "on" | ||
action: | ||
- service: notify.devices_user_1 | ||
data: | ||
title: "Doors" | ||
message: "Close the {{ room_name }} doors, since it is {{states('sensor.livingroom_out_vs_in')}}°C warmer outside." |
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