Exemple #1
0
 def update_sensor_list(self, groupname, force=False):
     url = self.qurl('sensor', db_group=groupname)
     self._sensors[groupname] = {
         v['name']: v['value']
         for v in query_xml(url)
     }
Exemple #2
0
 def update_sensor_list(self, groupname, force=False):
     url = self.qurl("sensor", db_group=groupname)
     self._sensors[groupname] = {v["name"]: v["value"] for v in query_xml(url)}
Exemple #3
0
 def update_group_list(self):
     url = self.qurl('group')
     self._groups = query_xml(url)
Exemple #4
0
 def update_group_list(self):
     url = self.qurl("group")
     self._groups = query_xml(url)