Files
Felix Zösch 9be64a0696 Add homeassistant skill in unpacked format
- Add complete homeassistant skill source to skills/ directory
- Includes all scripts, references, and automation templates
- Matches format of other skills in repository
2025-12-16 12:49:56 +01:00

35 lines
1.0 KiB
YAML

automation:
- alias: "Notification Automation"
id: notification_template
description: "Send notifications based on events or conditions"
trigger:
- trigger: state
entity_id: binary_sensor.REPLACE_WITH_SENSOR
to: "on"
condition:
# Optional: Only notify during specific times
- condition: time
after: "08:00:00"
before: "22:00:00"
action:
- action: notify.notify # Default notification service
data:
message: >
{{ trigger.to_state.attributes.friendly_name }} is now {{ trigger.to_state.state }}
at {{ now().strftime('%H:%M:%S') }}
title: "Home Assistant Alert"
# Optional: Send to specific mobile device
# - action: notify.mobile_app_REPLACE_WITH_DEVICE_NAME
# data:
# message: "Custom notification message"
# title: "Alert"
# data:
# # Optional: Add action buttons
# actions:
# - action: "ACTION_NAME"
# title: "Action Button"