mirror of
https://github.com/beestat/app.git
synced 2025-07-09 03:04:07 -04:00
Fixed #319 - Heat profile not generating for new users
This commit is contained in:
parent
e3a4e015e3
commit
8be843de75
@ -266,8 +266,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'] === 'compressor' ||
|
$thermostat['system_type2']['detected']['heat']['equipment'] === 'compressor' ||
|
||||||
$thermostat['system_type']['detected']['heat'] === 'geothermal'
|
$thermostat['system_type2']['detected']['heat']['equipment'] === '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