From 9ac6a3f7da6f55bd8adf0889f0036a5ae687256a Mon Sep 17 00:00:00 2001 From: nick Date: Thu, 20 Jul 2023 13:29:51 +0000 Subject: [PATCH] Update metrics.py --- metrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics.py b/metrics.py index 92f6512..0c4ec7f 100644 --- a/metrics.py +++ b/metrics.py @@ -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: