Test and fix parsing of gas unit.

This commit is contained in:
Johan Bloemberg
2016-11-07 20:08:28 +01:00
parent cf771776cd
commit fe5caa9126
2 changed files with 3 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ class MBusObjectV2_2(DSMRObject):
@property
def unit(self):
return self.values[4]['unit']
return self.values[4]['value']
class CosemObject(DSMRObject):