mirror of
https://github.com/pommi/python-itho-wpu.git
synced 2024-09-08 03:29:11 +02:00
feat(itho-wpu): populate IthoWPU object with nodeid, datatype
These are required to look up information in the database related to your WPU version.
This commit is contained in:
parent
ff149eba6a
commit
1f8eca43f6
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user