1
0
mirror of https://github.com/beestat/app.git synced 2025-05-24 02:14:03 -04:00

Fixed #186 - Fan and accessory runtime is not populating properly in summary tables

Forgot the fan.
This commit is contained in:
Jon Ziebell 2019-11-14 21:44:15 -05:00
parent a8f022cbb8
commit 94ae162c6c

View File

@ -101,7 +101,7 @@ class runtime_thermostat_summary extends cora\crud {
sum(case when `compressor_mode` = "heat" then `compressor_2` else 0 end) `sum_compressor_heat_2`,
sum(`auxiliary_heat_1`) `sum_auxiliary_heat_1`,
sum(`auxiliary_heat_2`) `sum_auxiliary_heat_2`,
sum(`fan`) `fan`,
sum(`fan`) `sum_fan`,
sum(case when `accessory_type` = "humidifier" then `accessory` else 0 end) `sum_humidifier`,
sum(case when `accessory_type` = "dehumidifier" then `accessory` else 0 end) `sum_dehumidifier`,
sum(case when `accessory_type` = "ventilator" then `accessory` else 0 end) `sum_ventilator`,