committed by
Bertrand Songis
parent
af5f3586f2
commit
4f614850c4
@@ -217,6 +217,10 @@ class SwitchesConversionTable: public ConversionTable {
|
||||
addConversion(RawSwitch(SWITCH_TYPE_SENSOR, i), val++);
|
||||
}
|
||||
}
|
||||
if (version >= 219) {
|
||||
addConversion(RawSwitch(SWITCH_TYPE_ACT, -1), -val+offset);
|
||||
addConversion(RawSwitch(SWITCH_TYPE_ACT, 1), val++);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user