Wallbe: Fix eventTypeId -> actionParamTypeId typo
parent
4507f3afb5
commit
4cae3e9a66
|
|
@ -224,7 +224,7 @@ void IntegrationPluginWallbe::executeAction(ThingActionInfo *info)
|
|||
|
||||
} 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;
|
||||
QUuid requestId = modbusTcpMaster->writeHoldingRegister(m_slaveAddress, WallbeRegisterAddress::ChargingCurrent, current);
|
||||
m_asyncActions.insert(requestId, info);
|
||||
|
|
|
|||
|
|
@ -48,7 +48,8 @@
|
|||
"unit": "Minutes",
|
||||
"type": "int",
|
||||
"defaultValue": 0,
|
||||
"displayNameEvent": "Charging time changed"
|
||||
"displayNameEvent": "Charging time changed",
|
||||
"cached": false
|
||||
},
|
||||
{
|
||||
"id": "2a95c4fb-9a15-4788-ae09-d34e71314da6",
|
||||
|
|
@ -114,7 +115,7 @@
|
|||
"type": "double",
|
||||
"unit": "Watt",
|
||||
"defaultValue": 0,
|
||||
"filter": "adaptive"
|
||||
"cached": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue