ha-fusion
ha-fusion copied to clipboard
FR: Adding support for casting to Google Hubs
Hi, first off - great addon. I really like how easy it is to use and look forward to future updates!
I've created an addon to continuously cast HA dashboards to Google Hub devices and i'd love to get Fusion supported too. I can cast Fusion to my hubs which is great but eventually the casting is stopped.
Currently the addon has a pre-requisite for ha-catt-fix which stops the timeout issue on the Hubs by adding a hidden Cast media player component and plays an image every 9 minutes. This will then cast to the device for the defined time with no issues once the script is added to the lovelace dashboard.
I was wandering if it'd be possible to add this for ha-fusion? I'm not too familiar with ts/js else I would give this a go myself.
Thanks so much!
Have you tried adding ha-catt-fix to custom_javascript.js? It can be enabled in settings, the file is here:
docker ps -a | grep "ha-fusion"
docker exec -it addon_65f67727_ha_fusion bash
cd data
cat custom_javascript.js