make all objects able to print their own values
This commit is contained in:
14
dsmr_parser/profile_generic_specifications.py
Normal file
14
dsmr_parser/profile_generic_specifications.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from dsmr_parser.parsers import ValueParser, MBusParser
|
||||
from dsmr_parser.value_types import timestamp
|
||||
|
||||
FAILURE_EVENT = r'0-0\:96\.7\.19'
|
||||
|
||||
V4 = {
|
||||
'objects': {
|
||||
FAILURE_EVENT: MBusParser(
|
||||
ValueParser(timestamp),
|
||||
ValueParser(int)
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user