ndokter/dsmr_parser

Wrong regex for couple of objects

qistoph opened this issue · 1 comments

LONG_POWER_FAILURE_COUNT = r'96\.7\.9.+?\r\n'

I believe the regexes should include \d-\d: just like the others, but there are missing for the following objects:

LONG_POWER_FAILURE_COUNT = r'\d-\d:96\.7\.9.+?\r\n'
SHORT_POWER_FAILURE_COUNT = r'\d-\d:96\.7\.21.+?\r\n'
POWER_EVENT_FAILURE_LOG = r'\d-\d:99\.97\.0.+?\r\n'

Nevermind, I was doing something wrong.