Add author & fix open_cover_with_window automation

This commit is contained in:
adrian committed 2026-10-25 21:23:35 +01:00
1 parent dc1caecab2
commit 98eaa25dd6
4 files changed
+7 -2

No files matched your search

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