What changes
| Old | New | Since |
|---|---|---|
| service: light.turn_on | action: light.turn_on | 2024.8 |
| trigger: / condition: / action: | triggers: / conditions: / actions: | 2024.10 |
| - platform: state | - trigger: state | 2024.10 |
| data_template:, service_template: | data:, action: | long deprecated |
The old syntax still works, but the docs and examples now use only the new one, and automations saved from the UI use it too. platform: in sensor settings (sensor:, template:) is left alone; only triggers change. Check the file afterwards: YAML checker.