Hi all, new to this so apologies if this is a basic question…
I am trying to display custom html inside of a card. The custom code is:
<script id="wg_fwdg_53_3_1549218841894">
(function (window, document) {
var loader = function () {
var arg = ["s=53","m=3","uid=wg_fwdg_53_3_1549218841894","wj=knots","tj=c","odh=0","doh=24","fhours=240","vt=forecasts",
"p=WINDSPD,GUST,MWINDSPD,SMER,TMPE,FLHGT,CDC,APCPs,RATING"];
var script = document.createElement("script");
var tag = document.getElementsByTagName("script")[0];
script.src = "https://www.windguru.cz/js/widget.php?"+(arg.join("&"));
tag.parentNode.insertBefore(script, tag);
};
window.addEventListener ? window.addEventListener("load", loader, false) : window.attachEvent("onload", loader);
})(window, document);
</script>
This should display the data for a location on Wind Guru as a table - see here, https://www.windguru.cz/53 Click ‘Share’, ‘Add to your website’ and then ‘Preview’.
What would you suggest as the best way to display this on my lovalace front end?
Thanks!