joba-1 / Tasmoticz

Domoticz MQTT autodiscovery plugin for Tasmota devices
MIT License
25 stars 18 forks source link

use counter type for daily and total energy #43

Closed joba-1 closed 9 months ago

joba-1 commented 1 year ago

Use counter instead of custom type for daily and total energy. Works by allowing domoType in the translation table to be numeric Type;Subtype;Switchtype and not just a TypeName

See #42 and https://domoticz.com/forum/viewtopic.php?t=40897

To test, the existing domoticz devices (like total or today) must be deleted to trigger a new create.

Needs more testing, please comment.