First post here so excuse me if I did anything wrong!
I’m trying to make my life easier and use variables to refer to phones throughout hass. With this, I’m trying to refer to one of the variables in my configuration.yaml when specifying which phones to send notifications to.
homeassistant.exceptions.HomeAssistantError: The system cannot restart because the configuration is not valid: Invalid config for [notify.group]: required key not provided @ data['services'][2]['service']. Got None. (See ?, line ?).
Not sure what to do about this. Any help would be greatly appreciated!
that’s not a valid service. The service would be notify.mobile_app_{{..
service_template and data_template are no longer needed. Just use service and data everywhere.
You can find your list of services in developer tools → services (tab). You’ll notice they all have a domain and id. i.e. domain.id where, notify is the domain and the id is mobile_app_..
You can’t template a notify group. And the services section of a notify group requires a list of id’s, not the whole service name. This is different than the services that go into the actions of an automation, do not get them confused.
You can tell if a field is templatable by looking at the docs. If it says template, it can be templated.
Thank you so much for your help and tips! I’m still settling in with home assistant and now I know what to look out for when I run into a similar issue.
I really appreciate it!