YAML Butler
The butler’s handbook

Make your home a little more helpful.

Practical patterns, readable examples, and the details that make an automation behave the way you expect.

GUIDE 01 ↗

Motion sensor lights in Home Assistant

Build a motion light that stays on while a room is occupied, then turns off after a quiet interval.

GUIDE 02 ↗

Turn off lights when nobody is home

Use household presence carefully so the last person leaving turns off the lights you choose.

GUIDE 03 ↗

Sunset and sunrise automations that follow the seasons

Choose a sun event, an offset, or a measured brightness signal for dependable outdoor lighting.

GUIDE 04 ↗

Notify when a door is left open in Home Assistant

Create a useful delayed door alert, choose the right notification action, and avoid repeated noise.

GUIDE 05 ↗

Home Assistant automation YAML syntax, with a complete example

Learn the structure of one automation, modern key names, indentation, and where to paste the result.

GUIDE 06 ↗

Triggers, conditions, and actions explained

Separate the event that starts a rule from the checks that allow it and the work it performs.

GUIDE 07 ↗

Convert old service and platform keys to modern action syntax

Modernize an existing automation without changing its entity targets or intended behavior.

GUIDE 08 ↗

Build a thermostat schedule in Home Assistant

Create a simple temperature schedule while respecting thermostat capabilities, units, and manual overrides.