Add DSMR5 option to protocol.#23
Conversation
Codecov Report
@@ Coverage Diff @@
## master #23 +/- ##
=========================================
- Coverage 70.33% 69.63% -0.7%
=========================================
Files 12 12
Lines 300 303 +3
Branches 24 25 +1
=========================================
Hits 211 211
- Misses 87 90 +3
Partials 2 2
Continue to review full report at Codecov.
|
|
@ndokter I've seen you have been working on automatic version detection. Nice. I have been pondering that feature for a while. I will keep an eye on it and add support for HA when it is released. |
|
Thank you for the pull request. Ive merged your changes and uploaded a new version to pypi. The automatic detection is nice, but im not sure what kind of object it would return. Maybe not just a simple dict. Currently not working on dsmr-parser so much :) |
|
Probably because it is already perfect ;) I'm waiting for some people with DSMR5 to confirm the changes work as expected, if not there might be another PR in a few days. |
This will allow support for: home-assistant/core#7535
Currently i'm assuming V5 serial settings are equal to V4. I will ask users to test.