Also, it’s not applying the icons and friendly names for me, and is pulling mdi:cast icon from somewhere (presumably it’s a HA default??), even though I’ve set them to mdi:play - interestingly the player that I have currently disconnected is applying the name and icon
I’ve tried clearing the cache before I posted. Haven’t had a chance to look at disabling the cache, but it looks like the opposite problem almost, as in its not caching it when it should be so you have to reload the page to get it.
Let’s say I have 3 tabs and one of these on each. I restart HA and none of them are there. I’m on tab 1 and I refresh, the one on tab 1 appears, go to tab 2 or 3 and they’re still missing, but if I go back to tab 1 it’s still there.
So I go to tab 2 and refresh, tab 2’s one appears, but tab 1’s is now gone.
deleted the old files and commented out the media player
rebooted HA
cleared the cache and local storage/session storage on my laptop and phone
added the new custom_ui files you updated on your github page for standard and es5
un-commented the media players
restarted HA
Problem persists as before, except now I can see them on my phone, but the behaviour on phone and laptop is identical, I can only have these on one tab at a time for some reason
[edit] and clicking on them does not give me a TTS option FYI
Safari requires me to manually refresh the page to see the players (even then the players appear only sometimes). On the iPhone, the players never appear.