Invalid config for [automation]: [initial_state] is an invalid option for [automation]. Check: automation->action->1->initial_state. (See /config/configuration.yaml, line 118)
Line 118 is:
group: !include groups.yaml
I do have an empty groups.yaml file.
If you need any more info to help me solve this just ask.
You have to do this right after copying the code from your .yaml file. Right after pasting it into your post/reply, make sure it’s all selected, then click that button.
If you don’t do that then not only will it change dashes to circles, etc., but the indentation will be changed, too. Wrong indentation is often the root of problems like this, which we can’t spot if the code has been reformatted. By clicking that button you’re actually preventing automatic reformatting that messes it up.
Retain tells the broker to store the value so it can be served up instantly to new subscriptions to the topic. Otherwise the new subscriber has to wait until the next published value.