From c4f36235aba37d60c8d20c4672bcf45c2ad9b6c5 Mon Sep 17 00:00:00 2001 From: GamerClassN7 Date: Fri, 25 Dec 2020 15:59:08 +0100 Subject: [PATCH] Google Home Heater controll Fix --- .gitignore | 1 + app/models/GoogleHome.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 3c2b9fa..9ff861b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ .ftpconfig .ftpconfig2 *.log +*.bin config.php _nemazat/index.html diff --git a/app/models/GoogleHome.php b/app/models/GoogleHome.php index aaf18aa..ccc8cf1 100644 --- a/app/models/GoogleHome.php +++ b/app/models/GoogleHome.php @@ -26,7 +26,7 @@ class GoogleHome { } } - if ($traids < 0){ + if ($traids < 1){ continue; }