I have a rasberry pi with Plex Media Player running on it.
On the old UI, it shows up in HA (Granted, it’s a bit broken , but it does show up).
Unfortunately, I can’t work out how to make it appear in the new Lovelace UI.
I’m trying things like:
- type: media-control
entity: media_player.plex_plexmediaplayer
and:
- type: media-control
entity: media_player.plexmediaplayer
but I just get an unhapy red box with something like:
No state available for media_player.plex_plexmediaplayer
{
“type”: “media-control”
“entity”: “media_player.plex_plexmediaplayer”
}
Any ideas?
dwinnn
October 28, 2018, 6:01pm
2
the YAML code looks fine for Lovelace, so maybe the name of your entity is incorrect. I would go to ‘States’ under Developer Tools and search for that name to double-check the spelling.
Thanks, @dwinnn ! I didn’t realize that facility was there.
The player was there, and called “plexmediaplayer_5”. I tuned my lovelace config, and it shows up.
I am curious where that 5 comes from, and it’s if going to become a “6” or something else later on…?
finity
October 28, 2018, 6:12pm
4
the “_5” is added by the entity registry. It shouldn’t change anymore after that (I hope…) unless you change it manually in the GUI for the entity.