- Add complete homeassistant skill source to skills/ directory - Includes all scripts, references, and automation templates - Matches format of other skills in repository
32 lines
734 B
YAML
32 lines
734 B
YAML
automation:
|
|
- alias: "Time-Based Automation"
|
|
id: time_based_template
|
|
description: "Execute actions at a specific time"
|
|
|
|
trigger:
|
|
- trigger: time
|
|
at: "07:00:00" # Replace with desired time (24-hour format)
|
|
|
|
condition:
|
|
# Optional: Only on specific days
|
|
- condition: time
|
|
weekday:
|
|
- mon
|
|
- tue
|
|
- wed
|
|
- thu
|
|
- fri
|
|
|
|
action:
|
|
# Add your actions here
|
|
- action: light.turn_on
|
|
target:
|
|
entity_id: light.REPLACE_WITH_LIGHT
|
|
data:
|
|
brightness: 128
|
|
|
|
- action: notify.notify
|
|
data:
|
|
message: "Good morning! Time-based automation triggered."
|
|
title: "Morning Routine"
|