I assume I can define the label and ratio this way:

weewx.units.default_unit_label_dict['millamp'] = ' mA'
weewx.units.conversionDict['amp'] = {'milliamp': lambda x : x * 1000}
weewx.units.conversionDict['milliamp'] = {'amp': lambda x : x * 0.001}



But I dont figure out how to "declare" milliamp 1st ?

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to