But how do I tell Home Assistant to use that?
I have it enabled and I did test it directly with the cast.homeassistant page which works great.
When I add it to my lovelace using the config above it just shows me:
"Caste Home Assistant" Cast Requires HTTPS