diff --git a/stiebeleltron/integrationpluginstiebeleltron.cpp b/stiebeleltron/integrationpluginstiebeleltron.cpp index 662d4d6..36f0c2e 100644 --- a/stiebeleltron/integrationpluginstiebeleltron.cpp +++ b/stiebeleltron/integrationpluginstiebeleltron.cpp @@ -234,16 +234,16 @@ void IntegrationPluginStiebelEltron::setupThing(ThingSetupInfo *info) { qCDebug(dcStiebelEltron()) << thing << "SG Ready activation changed" << smartGridState; switch (smartGridState) { case StiebelEltronModbusConnection::SmartGridStateModeOne: - thing->setStateValue(stiebelEltronSgReadyModeStateTypeId, "Mode 1"); + thing->setStateValue(stiebelEltronSgReadyModeStateTypeId, "Off"); break; case StiebelEltronModbusConnection::SmartGridStateModeTwo: - thing->setStateValue(stiebelEltronSgReadyModeStateTypeId, "Mode 2"); + thing->setStateValue(stiebelEltronSgReadyModeStateTypeId, "Low"); break; case StiebelEltronModbusConnection::SmartGridStateModeThree: - thing->setStateValue(stiebelEltronSgReadyModeStateTypeId, "Mode 3"); + thing->setStateValue(stiebelEltronSgReadyModeStateTypeId, "Standard"); break; case StiebelEltronModbusConnection::SmartGridStateModeFour: - thing->setStateValue(stiebelEltronSgReadyModeStateTypeId, "Mode 4"); + thing->setStateValue(stiebelEltronSgReadyModeStateTypeId, "High"); break; } }); diff --git a/stiebeleltron/integrationpluginstiebeleltron.json b/stiebeleltron/integrationpluginstiebeleltron.json index ad21a21..299a19a 100644 --- a/stiebeleltron/integrationpluginstiebeleltron.json +++ b/stiebeleltron/integrationpluginstiebeleltron.json @@ -293,13 +293,13 @@ "displayNameAction": "Set SG Ready mode", "type": "QString", "possibleValues": [ - "Mode 1", - "Mode 2", - "Mode 3", - "Mode 4" + "Off", + "Low", + "Standard", + "High" ], "writable": true, - "defaultValue": "Mode 3", + "defaultValue": "Standard", "suggestLogging": true }, {