Created
April 13, 2025 08:32
-
-
Save amitkeret/ebd3c64f408b9c5e4e0ca6b843c94681 to your computer and use it in GitHub Desktop.
Home Assistant one-time automation (fires at a specific date/time and disables itself)
This file contains hidden or 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
blueprint: | |
name: One-Time Scheduled Action | |
description: Perform an action at a scheduled date and time. | |
domain: automation | |
input: | |
what: | |
name: Action to do | |
description: What kind of action? | |
selector: | |
action: | |
when: | |
name: When to do it | |
description: When should the action occur? | |
selector: | |
datetime: | |
trigger: | |
- platform: time | |
at: !input when | |
condition: [] | |
action: | |
- choose: | |
- conditions: '{{ true }}' | |
sequence: !input what | |
- service: automation.turn_off | |
target: | |
entity_id: '{{ this.entity_id }}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment