Hi Mikael,

Ah, I thought the only issue was with distance. Just as you did for 
avg_distance you also need to do the same for lightning_strikes. In this case 
there are no unit conversions that need to be defined (lightning_strikes is 
just a count so there are no other units to convert to/between) but you do need 
to give WeeWX the ability to format and label tags using lightning_strikes. 
This time we want to use group_count, so add something like the following to 
the bottom of extensions.py:

weewx.units.obs_group_dict['lightning_strikes'] = 'group_count'

Again restart after saving the changes.

Gary

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5cade744-0f3c-4db7-8e15-d48775323d63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to