hoffmation-base 3.2.2 → 3.2.3-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -16,7 +16,7 @@ class AcDevice extends devices_1.RoomBaseDevice {
|
|
|
16
16
|
* @returns {boolean} True if the AC is allowed to cool
|
|
17
17
|
*/
|
|
18
18
|
get coolingAllowed() {
|
|
19
|
-
if (settings_service_1.SettingsService.heatMode
|
|
19
|
+
if (settings_service_1.SettingsService.heatMode === enums_1.HeatingMode.Winter) {
|
|
20
20
|
return false;
|
|
21
21
|
}
|
|
22
22
|
if (weather_1.WeatherService.active &&
|