I assume you are using the automation editor UI, switching to YAML mode, and passing that text there?
If so, the UI will reformat your text based on its own preferences. If you need to keep your automations unmodified you have to place them in a text file and point to it with your config. Or place it in configuration.yaml
But, the changes made to the file are not affecting functionality. The order of items in a dictionary is irrelevant, and starting with 2024.8 all references to “services” are being replaced with “actions” (but using “services” in yaml will continue to be supported).
If your automation isn’t working, there is something else to blame. Check the logs for errors and check the trace also.
K looks like my phone was switched to xxx_iphone_12_2.
I have no clue why. But this seems to be the problem. Then again, why would the Dryer automation work fine? Not very logical.
You’d have to look at the action your dryer automation is using. It’s not possible for the same action to cause an error in one automation but work fine in another.