This is a bug report. I am running Home Assistant Core 2022.6.7 with Home Assistant Supervisor 2022.06.dev2101.
I renamed my phone from “sm_g973f” to “ben_phone”. I restarted home assistant. To test, I created a simple automation with no triggers set to notify the group. To simplify, I put a single device in the group. It does not work.
Here is my group:
notify:
- name: all_phones
platform: group
services:
- service: mobile_app_ben_phone
and here is my automation
id: '1656108067799'
alias: New Automation
description: ''
trigger: []
condition: []
action:
- service: notify.all_phones
data:
message: Test
mode: single
After running the automation I checked the logs and it said
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/core.py”, line 1651, in async_call
raise ServiceNotFound(domain, service) from None
homeassistant.exceptions.ServiceNotFound: Unable to find service notify.mobile_app_ben_phone
I then went back into the automation and checked the available dropdowns in the action section and it dows notify.mobile_app_sm_g973f
I updated my group yaml to
notify:
- name: all_phones
platform: group
services:
- service: mobile_app_sm_g973f
and it works now.