Yes, I customized that template myself. The issue is occasional, so for some reason, sometimes that value has no reading. As the template is a bit long, I was wondering if there was a solution to pin down the exact location of the bug, but I'll just add a condition testing for None before in all situations. Thanks.
On Monday, August 21, 2023 at 6:33:37 PM UTC+2 Karen K wrote: > > > michael.k...@gmx.at schrieb am Montag, 21. August 2023 um 12:10:29 UTC+2: > > #if $val > $other > > > And you could change it to: > > #if $val is not None and $val>$other > > or > > #if $val is None or $val>$other > > depending on what you want to do with the None value. > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/a0939cc6-44cd-4f5f-a568-bf9f5da98c56n%40googlegroups.com.