home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.24k stars 30.24k forks source link

Universal Media Player - unique_id not working #127891

Open glassbase opened 2 hours ago

glassbase commented 2 hours ago

The problem

Added 'unique_id' entries to my universal media players, but don't believe it is taking effect because I cannot edit the details of the entity in the UI.

This entity ('media_player.xxxxxxxx') does not have a unique ID, therefore its settings cannot be managed from the UI. See the [documentation](https://www.home-assistant.io/faq/unique_id) for more detail.

What version of Home Assistant Core has the issue?

core-2024.10.1

What was the last working version of Home Assistant Core?

unsure

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Universal Media Player

Link to integration documentation on our website

https://www.home-assistant.io/integrations/universal/

Diagnostics information

No response

Example YAML snippet

### Sofia TV (Fake)

  - platform: universal
    name: Sofia TV
    unique_id: sofia_tv
    device_class: tv
    children:
      - media_player.plex_sofia
      - media_player.sofia_androidtv
    commands:
      turn_on:
        service: media_player.turn_on
        data:
          entity_id: media_player.sofia_androidtv
      turn_off:
        service: media_player.turn_off
        data:
          entity_id: media_player.sofia_androidtv
      volume_up:
        service: media_player.volume_up
        data:
          entity_id: media_player.sofia_androidtv
      volume_down:
        service: media_player.volume_down
        data:
          entity_id: media_player.sofia_androidtv
      volume_mute:
        service: media_player.volume_mute
        data:
          entity_id: media_player.sofia_androidtv
    attributes:
      state: media_player.sofia_androidtv
      app_name: media_player.sofia_androidtv
      volume_level: media_player.sofia_androidtv
      is_volume_muted: media_player.sofia_androidtv

Anything in the logs that might be useful for us?

No response

Additional information

UI error: This entity ('media_player.xxxxxxxx') does not have a unique ID, therefore its settings cannot be managed from the UI. See the [documentation](https://www.home-assistant.io/faq/unique_id) for more detail.

home-assistant[bot] commented 2 hours ago

universal documentation universal source