home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
3.75k stars 2.55k forks source link

`media_player.play_media` is listed twice in script action picker #20817

Open karwosts opened 2 weeks ago

karwosts commented 2 weeks ago

Checklist

Describe the issue you are experiencing

This service is in the action list in two places. Both items present a different UI to the user, which is confusing. The first one has a media picker, and the second one looks more like a standard service call.

Only the second item is findable by search, so if you search for play_media, you won't find the first one.

image

UI #.1:

image

UI #.2

image

Describe the behavior you expected

One list item per service, or, have both items, but better differentiated description, and both items appear in search box without first selecting Media Player

Steps to reproduce the issue

  1. Create script/automation
  2. Add action
  3. Click Media Player from the list (don't search) ...

What version of Home Assistant Core has the issue?

2024.5

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

No response

Which operating system are you using to run this browser?

No response

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response