Commit 663658f3 authored by luz's avatar luz

Heating Valve (climate control behaviour): fixed modelFeature; so, far,...

Heating Valve (climate control behaviour): fixed modelFeature; so, far, implemented valves (A5-20-01) does not have a configurable output mode, so modelFeature_heatingoutmode must NOT be included.
parent 3fa7545b
......@@ -58,9 +58,11 @@ bool ClimateControlBehaviour::hasModelFeature(DsModelFeatures aFeatureIndex)
// now check for climate control behaviour level features
switch (aFeatureIndex) {
case modelFeature_heatinggroup:
case modelFeature_heatingoutmode:
// Assumption: virtual heating control devices (valves) do have group and mode setting (but not the more specific PWM and heating props)
// Assumption: virtual heating control devices (valves) do have group and mode setting...
return true;
case modelFeature_heatingoutmode:
// ...but not the more specific PWM and heating props
return false;
case modelFeature_valvetype:
// for now, all climate control devices are heating valves
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment