This commit is contained in:
@@ -22,7 +22,7 @@ class TasmotaCollector(object):
|
||||
response = self.fetch()
|
||||
|
||||
for key in response:
|
||||
metric_name = self.device_name + "_" + key.lower().replace(" ", "_")
|
||||
metric_name = "tasmota_" + key.lower().replace(" ", "_")
|
||||
metric = response[key].split()[0]
|
||||
unit = None
|
||||
if len(response[key].split()) > 1:
|
||||
|
||||
Reference in New Issue
Block a user