aboutsummaryrefslogtreecommitdiffstats
path: root/imports/shared/service/climate/ClimateService.qml
diff options
context:
space:
mode:
Diffstat (limited to 'imports/shared/service/climate/ClimateService.qml')
-rw-r--r--imports/shared/service/climate/ClimateService.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/imports/shared/service/climate/ClimateService.qml b/imports/shared/service/climate/ClimateService.qml
index 37e7480..b762ac8 100644
--- a/imports/shared/service/climate/ClimateService.qml
+++ b/imports/shared/service/climate/ClimateService.qml
@@ -141,6 +141,16 @@ QtObject {
climateControl.fanSpeedLevel.value = newVentilation;
}
+ property QtObject airflowDirections: QtObject {
+ property int directions: climateControl.airflowDirections.value
+ property var availableDirections: climateControl.airflowDirections.availableValues
+ onDirectionsChanged: climateControl.airflowDirections.value = directions
+ }
+ property Connections airflowDirectionsConnections: Connections {
+ target: climateControl.airflowDirections
+ onValueChanged: airflowDirections.directions = climateControl.airflowDirections.value
+ }
+
property QtObject stateMachine: ClimateStateMachine {
climateControl: root.climateControl
doorsOpen: eco.enabled // TODO use QtIVI doors/window state for this eventually