Widget Script Help - IQ Air

Hey @JoeT! When replying with a block of code, it’s important to put it into a code block so the formatting is maintained. You can tap the </> button in the toolbar to insert a code block (or highlight your text and then tap that button to format it).

Can you share more details about where or how you’ve used this code?

Edit: I edited your reply to wrap the code in code blocks and it’s a bit more clear what you were doing now. (Without the code block, big chunks of your reply were missing from the post)

I just tried the snippet in an HTML Custom Tile and it loaded for me:

It looks like that widget doesn’t automatically scale to fit, so it might not be ideal. If you’re looking for a Custom Weather tile that fills the space properly, you might consider: Weather Tile - Open Weather - Current and Forecast