From 76ff07c32a8ca42bc83b642d1ab679133467b1de Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Tue, 23 Mar 2021 21:33:20 -0400 Subject: [PATCH] Updated profiles to use reported instead of detected system type. --- api/profile.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/profile.php b/api/profile.php index 4d3648c..6dd75a9 100644 --- a/api/profile.php +++ b/api/profile.php @@ -271,8 +271,8 @@ class profile extends cora\api { // Normalizing heating and cooling a bit. if( - $thermostat['system_type']['detected']['heat']['equipment'] === 'compressor' || - $thermostat['system_type']['detected']['heat']['equipment'] === 'geothermal' + $system_type_heat === 'compressor' || + $system_type_heat === 'geothermal' ) { if($row['compressor_mode'] === 'heat') { $row['heat_1'] = $row['compressor_1'];