I just copied an automation which made me do some RTFM. I came around the fact that HA offers triggers: and actions: in automations. So far my automations work with trigger: mentioning the platform and so on. Actions are started by action: followed by choose: / sequence: and so on. Is this a to be deprecated method? what is the advantage of having triggers: / actions: The docs provide any hint... (see https://www.home-assistant.io/docs/automation/trigger/)
#triggers: vs trigger: / actions: vs action:
1 messages · Page 1 of 1 (latest)
It's just a neater and more intuitive syntax that got implemented last year
I don't believe the old one has plans to be deprecated currently, but there's no real reason to use it either
If you want to convert I did this...
https://whatarewefixing.today/1705/how-to-migrate-home-assistant-2024-8-2024-10-yaml-changes/