Created
August 20, 2025 06:36
-
-
Save peyanski/38e2bdaa7997891d203a55fc0d85922d to your computer and use it in GitHub Desktop.
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
alias: Garage Door Open At Night Notification | |
description: "" | |
triggers: | |
- trigger: state | |
entity_id: | |
- cover.garage_door | |
to: open | |
for: | |
hours: 0 | |
minutes: 0 | |
seconds: 10 | |
conditions: | |
- condition: time | |
after: "16:00:00" | |
before: "08:00:00" | |
actions: | |
- action: ai_task.generate_data | |
data: | |
task_name: Garage door opened during the night | |
instructions: >- | |
Generate a funny passive aggressive notification (text and emojis only | |
and do not use yaml or other code) that the Garage door was opened | |
during the night which is strange and give only one answer/option | |
response_variable: generated_text | |
- action: notify.persistent_notification | |
data: | |
message: "{{ generated_text.data }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment