1
0
mirror of https://github.com/beestat/app.git synced 2025-07-09 03:04:07 -04:00

Updated profiles to use reported instead of detected system type.

This commit is contained in:
Jon Ziebell 2021-03-23 21:33:20 -04:00
parent a2dba76eca
commit 76ff07c32a

View File

@ -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'];