fixed ventilation unit power action

master
Boernsman 2021-05-11 05:48:17 +02:00 committed by Michael Zanetti
parent 46d85092a6
commit 2c4d6d0191
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ void IntegrationPluginDrexelUndWeiss::executeAction(ThingActionInfo *info)
bool power = action.paramValue(x2luPowerActionPowerParamTypeId).toBool();
uint32_t data = 0;
if (power) {
data = getVentilationModeFromString(thing->stateValue(x2luVentilationModeStateTypeId).toString());
data = VentilationMode::Automatikbetrieb;
} else {
data = VentilationMode::ManuellStufe0;
}