Add author & fix open_cover_with_window automation
This commit is contained in:
1 parent
dc1caecab2
commit
98eaa25dd6
4 files changed
+8
-3
No files matched your search
@@ -1,6 +1,7 @@
|
||||
blueprint:
|
||||
name: Open cover with window
|
||||
domain: automation
|
||||
author: xy795
|
||||
description: >
|
||||
Link an entity of the 'cover' domain to a binary sensor representing a window or door to automatically open the
|
||||
cover while the window is opened.
|
||||
@@ -93,7 +94,7 @@ actions:
|
||||
window: !input window
|
||||
boot_timeout: !input boot_timeout
|
||||
- variables:
|
||||
scene_id: !nput scene_id_template
|
||||
scene_id: !input scene_id_template
|
||||
- variables:
|
||||
scene_entity_id: "scene.{{ scene_id }}"
|
||||
|
||||
@@ -127,8 +128,9 @@ actions:
|
||||
delay:
|
||||
seconds: >-
|
||||
{{ iif(states("sensor.uptime") != "undefined",
|
||||
max((states("sensor.uptime") | as_datetime + timedelta(seconds=boot_timeout) - now()).total_seconds(), 0),
|
||||
boot_timeout }}
|
||||
max((states("sensor.uptime") | as_datetime + timedelta(seconds=boot_timeout) - now()).total_seconds(), 0),
|
||||
boot_timeout
|
||||
}}
|
||||
|
||||
# waiting for the window to close again
|
||||
- wait_for_trigger:
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
blueprint:
|
||||
name: Notify People
|
||||
domain: script
|
||||
author: xy795
|
||||
description: >
|
||||
Helper script meant as central place for sending notifications in Home Assistant. Multiple parameters available
|
||||
including selecting notified people, only notifying people at home and a way to dismiss notification.
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
blueprint:
|
||||
name: Notify Person
|
||||
domain: script
|
||||
author: xy795
|
||||
description: >
|
||||
Helper script to notify a single person. Used to prevent the need of changing every occurrence of a notification
|
||||
entity by instead only updating this script in case of a device change. Provides convenience to dismiss messages.
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
blueprint:
|
||||
name: Smart close cover
|
||||
domain: script
|
||||
author: xy795
|
||||
description: >
|
||||
Helper script to intelligently close a cover entity when the sun is below the horizon after waiting for its window
|
||||
to be closed. Useful in time-based cover automations.
|
||||
|
||||
Reference in new issue
Block a user