From 57aa4518b963c0509180a45219a7ffd1a220df2b Mon Sep 17 00:00:00 2001
From: thl-cmk <thl-cmk@outlook.com>
Date: Sun, 31 Dec 2023 10:42:31 +0000
Subject: [PATCH] Delete fritzbox_smarthome.py

---
 gui/metrics/fritzbox_smarthome.py | 80 -------------------------------
 1 file changed, 80 deletions(-)
 delete mode 100644 gui/metrics/fritzbox_smarthome.py

diff --git a/gui/metrics/fritzbox_smarthome.py b/gui/metrics/fritzbox_smarthome.py
deleted file mode 100644
index 7a8fc12..0000000
--- a/gui/metrics/fritzbox_smarthome.py
+++ /dev/null
@@ -1,80 +0,0 @@
-#!/usr/bin/env python3
-# -*- coding: utf-8 -*-
-#
-# License: GNU General Public License v2
-#
-# Author: thl-cmk[at]outlook[dot]com
-# URL   : https://thl-cmk.hopto.org
-# Date  : 2023-12-28
-# File  : fritzbox_smarthome.py (metrics)
-
-from cmk.gui.i18n import _
-from cmk.gui.plugins.metrics.utils import (
-    metric_info,
-    graph_info,
-    check_metrics,
-    perfometer_info,
-)
-
-check_metrics["check_mk-fritzbox_smarthome_thermostat_single"] = {
-    "temp_current": {"auto_graph": False},
-    "temp_target": {"auto_graph": False},
-    "temp_economic": {"auto_graph": False},
-    "temp_comfort": {"auto_graph": False},
-}
-
-check_metrics["check_mk-fritzbox_smarthome_thermostat_multiple"] = {
-    "temp_current": {"auto_graph": False},
-    "temp_target": {"auto_graph": False},
-    "temp_economic": {"auto_graph": False},
-    "temp_comfort": {"auto_graph": False},
-}
-
-metric_info["temp_current"] = {
-    "title": _("Temperature current"),
-    "color": "26/a",
-    "unit": "c",
-}
-metric_info["temp_target"] = {
-    "title": _("Temperature target"),
-    "color": "21/a",
-    "unit": "c",
-}
-metric_info["temp_economic"] = {
-    "title": _("Temperature economic"),
-    "color": "31/a",
-    "unit": "c",
-}
-metric_info["temp_comfort"] = {
-    "title": _("Temperature comfort"),
-    "color": "11/a",
-    "unit": "c",
-}
-
-graph_info["fritzbox_smart_home_temp_control"] = {
-    "title": _("Thermostat temperature control"),
-    "metrics": [
-        ("temp_current", "area"),
-        ("temp_target", "line"),
-    ],
-    "scalars": [
-        ("temp_comfort", "Temperature comfort"),
-        ("temp_economic", "Temperature economic"),
-    ],
-    "optional_metrics": [
-        "temp_target",
-    ],
-}
-
-perfometer_info.append(('stacked', [
-    {
-        'type': 'linear',
-        'segments': ['temp_current'],
-        'total': 50,
-    },
-    {
-        'type': 'linear',
-        'segments': ['temp_target'],
-        'total': 50,
-    }
-]))
-- 
GitLab