Skip to content

Sensor House

Check an automation a chatbot wrote

Paste the YAML an AI assistant gave you. See what will fail, what looks wrong, and what is only an older spelling that still works.

Chatbots write Home Assistant automations from whatever they read last, so they mix old spellings with new ones and make a few mistakes that stop an automation from loading: an unquoted template, a capital letter in an entity id, a numeric state trigger with no threshold. Paste what you were given and this reads it the way Home Assistant would, rule by rule, each one tied to the Home Assistant page it comes from. It runs in your browser and sends nothing. It is this site's reading of those pages, not Home Assistant's own check: the last word is Home Assistant's, after you reload automations.

Paste the automation

Older spellings are not mistakes

In 2024.8 Home Assistant renamed service calls to actions, and in 2024.10 it renamed trigger, condition and action at the top of an automation to triggers, conditions and actions, and platform inside a trigger to trigger. Its release notes say the old spellings keep working and there is no plan to remove them. So an automation in the older style is fine, and this check says so rather than calling it wrong.

Then compare it with a recipe

If the automation is for a leak, freeze, humidity, garage door, sump pump or battery sensor, the recipe bench on the home page writes one in the current syntax from your own entity names. Put the two side by side.

Sources

  1. Home Assistant: Automation YAML (id, alias, mode and the rest) Home Assistant
  2. Home Assistant: YAML (indentation, quoting on and off, lowercase entity ids) Home Assistant
  3. Home Assistant: Templates in YAML (the quoting rule) Home Assistant
  4. Home Assistant: Automation modes Home Assistant
  5. Home Assistant: Numeric state trigger Home Assistant
  6. Home Assistant 2024.8 release notes: service calls become actions Home Assistant
  7. Home Assistant 2024.10 release notes: triggers, conditions and actions in the plural Home Assistant

Drafted with a language model on October 26, 2026 from the sources listed above. Every recipe on the page is written by the site's own code and parsed by a test. The editor samples pages after they publish; nothing here is advice from a licensed electrician or plumber.

Found an error? See Corrections.

Check an automation a chatbot wrote | Sensor House