HWS-template (WD34) July version available

Problem with max wind|gust block just after midnight when max gust not displayed at all. Checked live data and max gust was 0, so I’m guessing it’s down to the conditional in line 79 of wind_c_small.php


if ($weather['wind_gust_speed_max'] <> 'n/a'

which says, basically, if max gust is n/a (or 0) then don’t show anything. (But I haven’t worked out why max wind time was still showing 14.20.)

All OK this morning :slight_smile:


mymaxwindgust.png

myOKmaxwindgust.png