I found all the local media resources in my scripts become unavailable after upgrading to 2022.5.
When I click “Media” tag from left side menu, the page shows “Entity not found”.
I’m also getting ‘entity not found’ under the media section after upgrading to 2022.5.2 (from 2022.4.7), but I’m not seeing anything in my logs about it.
I found why my local music is not playing. The local path should begin with “//” in new version HA (2022.5) and old version support “/”
The code below works for new version (2022.5) HA
The Entity not found issue should be something like browser caching problem. As I can visit this page from iOS or Android apps, but not chrome browser. After clear the application cache from browser, the Media page has no problem anymore.
Thanks for the tip! I did try the page in another browser and it worked… it also went to a different URL which I pasted back in my main browser and it all works now. Weird.