Tom Keffer schrieb am Samstag, 2. März 2024 um 02:00:54 UTC+1:

For an aggregate, for your xtype to be used, it must appear *before* XTypeTable 
...


In the Wiki about XTypes <https://github.com/weewx/weewx/wiki/xtypes> all 
the examples *append* the XType to the list. Not a single example does it 
otherwise. And there are a lot of examples. I must confess I did not 
realize that one sentence about prepending the XType there. By now I 
thought you wanted users to always *append* their XTypes. And there is no 
word that it may be necessary to insert the XType between others. May be 
that confused developers.

I wonder why WeeWX 4.X worked fine without get_aggregate() in XTypeTable.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/1c5b42cc-07c8-4eb8-b83d-af6b077a4b64n%40googlegroups.com.

Reply via email to