core: "No state available" error in UI for component media_player

Home Assistant release with the issue: 0.86.4

Last working Home Assistant release (if known): 0.85

Operating environment (Hass.io/Docker/Windows/etc.): Docker

Component/platform: https://www.home-assistant.io/components/cast/ https://www.home-assistant.io/lovelace/

Description of problem: Starting with 0.86.3 I started experiencing errors in GUI related to Chromecast unavailability. When I switch off my TV, which powers Chromecast over USB I’m getting the following error: image

I saw others reporting the same error for other types of media_player. A suggestion was made to use the Entity filter card, but I think this is a workaround not a proper solution. Before 0.86.3 an unavailable Chromecast had its status as Unavailable. Now it disappears from entities list and as a result the user sees the above error.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):


Traceback (if applicable):

No error in logs

Additional information:

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 1
  • Comments: 15 (6 by maintainers)

Most upvoted comments

This is no longer an issue as all states are recreated as unavailable on startup.