File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def __init__(self, attrs):
16
16
self .volume_unit = attrs .get (self .Pins .VOLUME_UNIT , None )
17
17
self .bubbles = attrs .get (self .Pins .BUBBLES , None )
18
18
self .batch_volume = attrs .get (self .Pins .BATCH_VOLUME , None )
19
- self .sg = attrs .get (self .Pins .SG , None )
19
+ self .__sg = attrs .get (self .Pins .SG , None )
20
20
self .og = attrs .get (self .Pins .OG , None )
21
21
self .__abv = attrs .get (self .Pins .ABV , None )
22
22
self .__co2_volume = attrs .get (self .Pins .CO2_VOLUME , None )
@@ -37,6 +37,11 @@ def abv(self):
37
37
if self .__abv is not None :
38
38
return round (float (self .__abv ), 2 )
39
39
40
+ @property
41
+ def sg (self ):
42
+ if self .__sg is not None :
43
+ return round (float (self .__sg ), 3 )
44
+
40
45
@property
41
46
def co2_volume (self ):
42
47
if self .__co2_volume is not None :
Original file line number Diff line number Diff line change 5
5
6
6
setuptools .setup (
7
7
name = "pyplaato" ,
8
- version = "0.0.12 " ,
8
+ version = "0.0.13 " ,
9
9
author = "JohNan" ,
10
10
author_email = "johan.nanzen@gmail.com" ,
11
11
description = "Asynchronous Python client for getting Plaato Airlock and Keg data" ,
You can’t perform that action at this time.
0 commit comments