Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[notify.all_devices] doesn't work if one of mobile devices was renamed #122587

Closed
ESP4Ever opened this issue Jul 25, 2024 · 1 comment
Closed

Comments

@ESP4Ever
Copy link

The problem

Automation error:

Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/core.py", line 2664, in async_call
raise ServiceNotFound(domain, service) from None
homeassistant.exceptions.ServiceNotFound: Action notify.mobile_app_sm_g988b not found

{sm_g988b} mobile was renamed to {my_phone} and the {notify.mobile_app_my_phone} call works perfectly but {notify.all_devices} is still using the old name

What version of Home Assistant Core has the issue?

2024.7.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

alias: DSC Alarm - Armed/Disarmed
description: ""
trigger:
  - type: turned_on
    platform: device
    device_id: 2d9cba4a58184c8c892cf86d6b02a1cc
    entity_id: f87021d105f07404d24cc1bf5ed59daa
    domain: binary_sensor
  - type: turned_off
    platform: device
    device_id: 2d9cba4a58184c8c892cf86d6b02a1cc
    entity_id: f87021d105f07404d24cc1bf5ed59daa
    domain: binary_sensor
condition: []
action:
  - service: notify.ALL_DEVICES
    data:
      title: DSC arm state
      message: DSC Alarm - Armed state changed
      data:
        channel: Warning
        ttl: 0
        priority: high
        importance: high
        color: "#FFA500"
        sticky: true
mode: single

Anything in the logs that might be useful for us?

Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 2664, in async_call
    raise ServiceNotFound(domain, service) from None
homeassistant.exceptions.ServiceNotFound: Action notify.mobile_app_sm_g988b not found

Additional information

No response

@ESP4Ever
Copy link
Author

Case closed. A group config file was not saved after modification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant