We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d15ad99 commit 5ca1b32Copy full SHA for 5ca1b32
plugwise/helper.py
@@ -45,6 +45,7 @@
45
46
_LOGGER = logging.getLogger(__name__)
47
48
+
49
def check_model(name, v_name):
50
"""Model checking before using version_to_model."""
51
if v_name in ["Plugwise", "Plugwise B.V."]:
@@ -56,6 +57,7 @@ def check_model(name, v_name):
56
57
else:
58
return name
59
60
61
def types_finder(data):
62
"""Detect types within locations from logs."""
63
types = set()
plugwise/util.py
@@ -333,4 +333,4 @@ def serialize(self):
333
334
def deserialize(self, val):
335
Int.deserialize(self, val)
336
- self.value = (self.value - LOGADDR_OFFSET) // 32
+ self.value = (self.value - LOGADDR_OFFSET) // 32
0 commit comments