- Home
- Skills
- Workflow Automation
- Home Assistant Automations at Scale
Home Assistant Automations at Scale
Draft, audit, and debug Home Assistant YAML automations with conflict detection and security-safe defaults.
$15
Works with the AI Agents you already use
Home Assistant Automations at Scale
Example session with this skill installed
Write a Home Assistant automation to turn on the porch light when motion is detected after sunset, but turn it off after 5 minutes of no motion. Use a mode that handles re-triggers.
- Read your context and instructions
- Compiled the home assistant automations
I have drafted a motion-activated lighting automation using the restart mode. This ensures that every time motion is detected, the 5-minute timer resets, preventing the light from turning off while someone is still outside. I used entity_id for portability and included a for duration on the trigger to prevent flapping.
Porch Motion Automation
- id: porch_light_motion_control
alias: "Outdoor: Porch Light on Motion"
description: "Turns on porch light at night when motion is detected and off after 5 minutes of quiet."
mode: restart
trigger:
- platform: state
entity_id: binary_sensor.porch_motion
from: "off"
to: "on"
condition:
- condition: state
entity_id: sun.sun
state: "below_horizon"
action:
- service: light.turn_on
target:
entity_id: light.porch_light
- wait_for_trigger:
- platform: state
entity_id: binary_sensor.porch_motion
from: "on"
to: "off"
for:
minutes: 5
- service: light.turn_off
target:
entity_id: light.porch_light
Next steps
- Copy this YAML into your
automations.yamlfile. - Run
python scripts/ha_check.py automations.yamlto ensure no other automation is fighting for control oflight.porch_light. - Go to Developer Tools -> YAML -> Reload Automations to apply the changes.
Connects securely to your tools. The creator never sees your data.
About this skill
No loops, no fights, safe locks and heating.
Write, review and debug Home Assistant automations, scripts and scenes in YAML - correct triggers, conditions and modes, no feedback loops, safe defaults for heating, locks and alarms - and check them with a loop/conflict detector before reloading. Use when the user wants a smart-home automation, a Home Assistant YAML fix, or asks why an automation fires twice, never fires, or fights another one.
Includes an EXPERT.md reference (exact parameters, thresholds, failure diagnosis). Tested scripts: scripts/ha_check.py.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scanned
Verified clean today
- Passed all security checks, Safe to install