This is an automated archive made by the Lemmit Bot.
The original was posted on /r/homeassistant by /u/Dunnowhathatis on 2025-03-07 17:59:23+00:00.
I know a lot of people already know, but for those that don't, Claude AI is pretty amazing (using the Pro, extended version) in writing or rewriting YAML Automations. I have gone through most of my 120 automations, and claude added error handling, notifications, and simplifications to existing automations. Before you do a final implementation of the new code, make sure to make a duplicate of your exisitng one, then create a v2 (or whatever) and test it out. It is not perfect (but 99% there) since sometimes there are slight implementation or syntax differences (state() versus states() for example), but it is amazing. It would be REALLY cool if HA can implement an AI version to create automations right in HA.