From e404bd49c328edc58f6c3d01b4cf9d0658e4eb14 Mon Sep 17 00:00:00 2001 From: Philip Kauffman Date: Mon, 14 Feb 2022 16:34:40 -0600 Subject: [PATCH] prometheus: add 'friendlyname' to tasmota_info --- tasmota/xsns_75_prometheus.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/tasmota/xsns_75_prometheus.ino b/tasmota/xsns_75_prometheus.ino index df9d41881..c391afe16 100644 --- a/tasmota/xsns_75_prometheus.ino +++ b/tasmota/xsns_75_prometheus.ino @@ -200,6 +200,7 @@ void HandleMetrics(void) { PSTR("image"), TasmotaGlobal.image_name, PSTR("build_timestamp"), GetBuildDateAndTime().c_str(), PSTR("devicename"), SettingsText(SET_DEVICENAME), + PSTR("friendlyname"), SettingsText(SET_FRIENDLYNAME1), nullptr); WritePromMetricInt32(PSTR("uptime_seconds"), kPromMetricGauge, TasmotaGlobal.uptime, nullptr);