Generic energy: Update EV charger interface
parent
b4fd80a59b
commit
d9cfa92550
|
|
@ -187,7 +187,7 @@ void IntegrationPluginGenericEnergy::executeAction(ThingActionInfo *info)
|
||||||
} else if (action.actionTypeId() == wallboxDesiredPhaseCountActionTypeId) {
|
} else if (action.actionTypeId() == wallboxDesiredPhaseCountActionTypeId) {
|
||||||
thing->setStateValue(wallboxDesiredPhaseCountStateTypeId, action.paramValue(wallboxDesiredPhaseCountActionDesiredPhaseCountParamTypeId).toUInt());
|
thing->setStateValue(wallboxDesiredPhaseCountStateTypeId, action.paramValue(wallboxDesiredPhaseCountActionDesiredPhaseCountParamTypeId).toUInt());
|
||||||
} else if (action.actionTypeId() == wallboxMaxChargingCurrentActionTypeId) {
|
} else if (action.actionTypeId() == wallboxMaxChargingCurrentActionTypeId) {
|
||||||
thing->setStateValue(wallboxMaxChargingCurrentStateTypeId, action.paramValue(wallboxMaxChargingCurrentActionMaxChargingCurrentParamTypeId).toUInt());
|
thing->setStateValue(wallboxMaxChargingCurrentStateTypeId, action.paramValue(wallboxMaxChargingCurrentActionMaxChargingCurrentParamTypeId).toDouble());
|
||||||
} else if (action.actionTypeId() == wallboxPhaseCountActionTypeId) {
|
} else if (action.actionTypeId() == wallboxPhaseCountActionTypeId) {
|
||||||
thing->setStateValue(wallboxPhaseCountStateTypeId, action.paramValue(wallboxPhaseCountActionPhaseCountParamTypeId).toUInt());
|
thing->setStateValue(wallboxPhaseCountStateTypeId, action.paramValue(wallboxPhaseCountActionPhaseCountParamTypeId).toUInt());
|
||||||
} else if (action.actionTypeId() == wallboxPluggedInActionTypeId) {
|
} else if (action.actionTypeId() == wallboxPluggedInActionTypeId) {
|
||||||
|
|
|
||||||
|
|
@ -380,7 +380,7 @@
|
||||||
"id": "017b2d92-eb57-4177-b489-437b04e212eb",
|
"id": "017b2d92-eb57-4177-b489-437b04e212eb",
|
||||||
"name": "maxChargingCurrent",
|
"name": "maxChargingCurrent",
|
||||||
"displayName": "Maximum charging current",
|
"displayName": "Maximum charging current",
|
||||||
"type": "uint",
|
"type": "double",
|
||||||
"minValue": 6,
|
"minValue": 6,
|
||||||
"maxValue": 64,
|
"maxValue": 64,
|
||||||
"defaultValue": 32
|
"defaultValue": 32
|
||||||
|
|
@ -392,7 +392,7 @@
|
||||||
"name": "maxChargingCurrent",
|
"name": "maxChargingCurrent",
|
||||||
"displayName": "Maximum charging current",
|
"displayName": "Maximum charging current",
|
||||||
"displayNameAction": "Set maximum charging current",
|
"displayNameAction": "Set maximum charging current",
|
||||||
"type": "uint",
|
"type": "double",
|
||||||
"unit": "Ampere",
|
"unit": "Ampere",
|
||||||
"minValue": 6,
|
"minValue": 6,
|
||||||
"maxValue": 32,
|
"maxValue": 32,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue