Fix debug message for SG Ready mode change

This commit is contained in:
l.heizinger 2022-03-05 13:59:23 +01:00 committed by Simon Stürz
parent 6bb2014be9
commit e8a8a060d0

View File

@ -231,7 +231,7 @@ void IntegrationPluginStiebelEltron::setupThing(ThingSetupInfo *info) {
connect(connection, &StiebelEltronModbusConnection::sgReadyStateChanged, thing,
[thing](StiebelEltronModbusConnection::SmartGridState smartGridState) {
qCDebug(dcStiebelEltron()) << thing << "SG Ready activation changed" << smartGridState;
qCDebug(dcStiebelEltron()) << thing << "SG Ready mode changed" << smartGridState;
switch (smartGridState) {
case StiebelEltronModbusConnection::SmartGridStateModeOne:
thing->setStateValue(stiebelEltronSgReadyModeStateTypeId, "Off");