From 1f8eca43f675b1c260817e35a3fae131e17710bb Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Fri, 12 Feb 2021 17:25:41 +0100 Subject: [PATCH] feat(itho-wpu): populate IthoWPU object with nodeid, datatype These are required to look up information in the database related to your WPU version. --- itho-wpu.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/itho-wpu.py b/itho-wpu.py index 29c365c..85840ef 100755 --- a/itho-wpu.py +++ b/itho-wpu.py @@ -173,6 +173,8 @@ class IthoWPU(): self._q = queue.Queue() self.no_cache = no_cache self.cache = IthoWPUCache() + self.nodeid = self.get('getnodeid') + self.datatype = self.get('getdatatype') def get(self, action): if not self.no_cache: