core icon indicating copy to clipboard operation
core copied to clipboard

Reloading universal media players sets states to Unknown

Open Salvora opened this issue 3 years ago • 4 comments

The problem

This issue was reported before and closed as fixed in 2020, however, I am experiencing the same issue now.

All my universal media player entities reports as 'unknown' when I reload the "universal media players" from Developer Tools/Yaml

old issue: https://github.com/home-assistant/core/issues/41593

What version of Home Assistant Core has the issue?

core-2022.10.5

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

Universal Media Player

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

- platform: universal
  name: "Mutfak TV"
  unique_id: "Mutfak TV"
  children:
    - media_player.mutfak_tv
    - media_player.mutfak_chromecast_ultra
  state_template: "{{ iif(is_state('switch.mutfak_tv_guc', 'on'), 'on', 'off') or iif(not is_state('media_player.mutfak_tv', 'off'), 'on', 'off') }}"
  commands:
    turn_on:
      service: switch.turn_on
      target:
        entity_id: switch.mutfak_tv_guc
    turn_off:
      service: switch.turn_off
      target:
        entity_id: switch.mutfak_tv_guc
  device_class: tv

Anything in the logs that might be useful for us?

none

Additional information

No response

Salvora avatar Oct 25 '22 22:10 Salvora

still an issue

Salvora avatar Nov 17 '22 12:11 Salvora

still an issue

Salvora avatar Dec 07 '22 15:12 Salvora

Same issue here. Thanks to OP for reporting this as I spent way too much time troubleshooting why my universal player stopped working after making a simple change. Finally rebooted as mentioned above and the player reports proper status.

pavlov70 avatar Feb 06 '23 13:02 pavlov70

still an issue

Salvora avatar Apr 07 '23 08:04 Salvora

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.