alexa_media_player: notify.alexa_media_last_called service no longer recognised by Home Assistant

The service notify.alexa_media_last_called is no longer recognised by Home Assistant. Error "The automation “XYZ Example” (automation.alexa_whatever) has an action that calls an unknown service: notify.alexa_media_last_called. Previously this has worked just fine, though I can’t remember when I last used it successfully.

To Reproduce

  1. Go to ‘Developer Tools’
  2. Click on ‘Services’
  3. Attempt to locate the ‘notify.alexa_media_last_called’ service
  4. Observe it is missing

Expected behavior

According to the documentation, the notify.alexa_media_last_called service should still be present.

Screenshots

N/A

System details

  • Home-assistant (version): 2023.10.5
  • alexa_media (version from const.py or HA startup): 4.7.7
  • alexapy (version from pip show alexapy or HA startup): 1.27.6
  • Amazon 2FA is enabled

Logs

2023-10-25 07:58:15.982 ERROR (MainThread) [homeassistant.components.automation.alexa_open_blind_context_aware] Alexa - Context Aware - Blind Open: Choose at step 2: default: Error executing script. Service not found for call_service at pos 1: Unable to find service notify.alexa_media_last_called

Additional context

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 7
  • Comments: 55 (1 by maintainers)

Most upvoted comments

I noticed that last_called_summary still has the information.

not here.

I noticed that last_called_summary still has the information. We would need to update ever single script using last_called boolean by this string field. Hope to have it fixed to have last_called working again.

The last_called_summary atrribute is null on my system.

Please try v4.11.0

Still the same issue. Interesting fact: I just had the same service error and checked the available services in HA. The service notify.alexa_media_last_called disappeared. Instead a service using my email address as part of the service name is available, eg notify.alexa_media_last_called_apachelance_outlook_com

Located in New Mexico US. After the issue 6 months ago came and went, all has been well until a week ago: “Unable to find service notify.alexa_media_last_called”.

It’s not working perfectly for me. The last call is not updated for all triggers.

The issue below reported the return of the problem. https://github.com/alandtse/alexa_media_player/issues/2117

image

I’m fearing the worst may have happened…

This would appear to be an amazon.uk issue. Everything is fine here in Canada via my amazon.ca account.

US problem for me.