Closed dupondje closed 7 months ago
@dupondje May be you can improve PR description a bit and explain why we are proposing these changes.
@ndokter : Would be great if this can be reviewed, merged and a new release :) Then HA can be adapted to use MBUS.
@ndokter : Don't know if you want to review it also? Otherwise I'll merge it in the coming days.
@ndokter : this one is also merged in 1.4.0, you add it to the changelog? :)
@dupondje oops, added it!
Alternative implementation of #141
Instead of having a obis reference for each MBUS, only have 1 generic one.
This because at least the BE and the NL DSMR devices use MBUS. Therefor we make the MBUS obis reference generic, and convert the V5 telegram to use MBUS values.
Also remove BELGIUM_MAX_POWER_PER_PHASE as this was a duplicate.
Finally set self.maxDiff = None to have a full test output on some tests.
This new code can then be used in Home-Assistant to add MBUS devices.