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:
parent
a2dba76eca
commit
76ff07c32a
@ -271,8 +271,8 @@ class profile extends cora\api {
|
|||||||
|
|
||||||
// Normalizing heating and cooling a bit.
|
// Normalizing heating and cooling a bit.
|
||||||
if(
|
if(
|
||||||
$thermostat['system_type']['detected']['heat']['equipment'] === 'compressor' ||
|
$system_type_heat === 'compressor' ||
|
||||||
$thermostat['system_type']['detected']['heat']['equipment'] === 'geothermal'
|
$system_type_heat === 'geothermal'
|
||||||
) {
|
) {
|
||||||
if($row['compressor_mode'] === 'heat') {
|
if($row['compressor_mode'] === 'heat') {
|
||||||
$row['heat_1'] = $row['compressor_1'];
|
$row['heat_1'] = $row['compressor_1'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user