Wallbe: Fix eventTypeId -> actionParamTypeId typo

master
Michael Zanetti 2022-02-08 21:22:34 +01:00
parent 4507f3afb5
commit 4cae3e9a66
2 changed files with 4 additions and 3 deletions

View File

@ -224,7 +224,7 @@ void IntegrationPluginWallbe::executeAction(ThingActionInfo *info)
} else if(action.actionTypeId() == wallbeEcoMaxChargingCurrentActionTypeId){ } else if(action.actionTypeId() == wallbeEcoMaxChargingCurrentActionTypeId){
uint16_t current = action.param(wallbeEcoMaxChargingCurrentEventMaxChargingCurrentParamTypeId).value().toUInt(); uint16_t current = action.param(wallbeEcoMaxChargingCurrentActionMaxChargingCurrentParamTypeId).value().toUInt();
qCDebug(dcWallbe) << "Charging power set to" << current; qCDebug(dcWallbe) << "Charging power set to" << current;
QUuid requestId = modbusTcpMaster->writeHoldingRegister(m_slaveAddress, WallbeRegisterAddress::ChargingCurrent, current); QUuid requestId = modbusTcpMaster->writeHoldingRegister(m_slaveAddress, WallbeRegisterAddress::ChargingCurrent, current);
m_asyncActions.insert(requestId, info); m_asyncActions.insert(requestId, info);

View File

@ -48,7 +48,8 @@
"unit": "Minutes", "unit": "Minutes",
"type": "int", "type": "int",
"defaultValue": 0, "defaultValue": 0,
"displayNameEvent": "Charging time changed" "displayNameEvent": "Charging time changed",
"cached": false
}, },
{ {
"id": "2a95c4fb-9a15-4788-ae09-d34e71314da6", "id": "2a95c4fb-9a15-4788-ae09-d34e71314da6",
@ -114,7 +115,7 @@
"type": "double", "type": "double",
"unit": "Watt", "unit": "Watt",
"defaultValue": 0, "defaultValue": 0,
"filter": "adaptive" "cached": false
} }
] ]
} }