From 4cae3e9a665ddc16299c574c8485f939ad81afef Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Tue, 8 Feb 2022 21:22:34 +0100 Subject: [PATCH] Wallbe: Fix eventTypeId -> actionParamTypeId typo --- wallbe/integrationpluginwallbe.cpp | 2 +- wallbe/integrationpluginwallbe.json | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/wallbe/integrationpluginwallbe.cpp b/wallbe/integrationpluginwallbe.cpp index 379dd6b..b95c67c 100644 --- a/wallbe/integrationpluginwallbe.cpp +++ b/wallbe/integrationpluginwallbe.cpp @@ -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); diff --git a/wallbe/integrationpluginwallbe.json b/wallbe/integrationpluginwallbe.json index aa7f37a..774475e 100644 --- a/wallbe/integrationpluginwallbe.json +++ b/wallbe/integrationpluginwallbe.json @@ -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 } ] }