From 83432dd7960f958bcc4a6d1ac5a1741871be762d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc?= <1536036+zoic21@users.noreply.github.com> Date: Mon, 26 Feb 2024 09:39:58 +0100 Subject: [PATCH] Update thermostat.class.php --- core/class/thermostat.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/class/thermostat.class.php b/core/class/thermostat.class.php index c3d69fe..e755d58 100644 --- a/core/class/thermostat.class.php +++ b/core/class/thermostat.class.php @@ -24,7 +24,7 @@ class thermostat extends eqLogic { /* * ***********************Methode static*************************** */ - public static function pull($_options) { + public static function pull($_options = null) { $thermostat = thermostat::byId($_options['thermostat_id']); if (!is_object($thermostat)) { $cron = cron::byClassAndFunction(__CLASS__, 'pull', $_options);