From e78254f91fad0fb72f60bf1f13346bfe59d86d4c Mon Sep 17 00:00:00 2001 From: Tomaae <23486452+tomaae@users.noreply.github.com> Date: Wed, 26 Apr 2023 00:43:44 +0200 Subject: [PATCH] added data gathering entry for cputemp #104 --- custom_components/openmediavault/omv_controller.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom_components/openmediavault/omv_controller.py b/custom_components/openmediavault/omv_controller.py index aa5b30f..09eec99 100644 --- a/custom_components/openmediavault/omv_controller.py +++ b/custom_components/openmediavault/omv_controller.py @@ -284,6 +284,7 @@ def get_hwinfo(self): # get_cputemp # --------------------------- def get_cputemp(self): + return # tmp_data = parse_api( # data={}, # source=self.api.query("CpuTemp", "get"), @@ -297,7 +298,7 @@ def get_cputemp(self): # {"name": "smartsupportis", "type": "bool", "default": False}, # ], # ) - print("CpuTemp:", self.api.query("CpuTemp", "get")) + # print("CpuTemp:", self.api.query("CpuTemp", "get")) # --------------------------- # get_disk