Fix debug message for SG Ready mode change
This commit is contained in:
parent
6bb2014be9
commit
e8a8a060d0
@ -231,7 +231,7 @@ void IntegrationPluginStiebelEltron::setupThing(ThingSetupInfo *info) {
|
|||||||
|
|
||||||
connect(connection, &StiebelEltronModbusConnection::sgReadyStateChanged, thing,
|
connect(connection, &StiebelEltronModbusConnection::sgReadyStateChanged, thing,
|
||||||
[thing](StiebelEltronModbusConnection::SmartGridState smartGridState) {
|
[thing](StiebelEltronModbusConnection::SmartGridState smartGridState) {
|
||||||
qCDebug(dcStiebelEltron()) << thing << "SG Ready activation changed" << smartGridState;
|
qCDebug(dcStiebelEltron()) << thing << "SG Ready mode changed" << smartGridState;
|
||||||
switch (smartGridState) {
|
switch (smartGridState) {
|
||||||
case StiebelEltronModbusConnection::SmartGridStateModeOne:
|
case StiebelEltronModbusConnection::SmartGridStateModeOne:
|
||||||
thing->setStateValue(stiebelEltronSgReadyModeStateTypeId, "Off");
|
thing->setStateValue(stiebelEltronSgReadyModeStateTypeId, "Off");
|
||||||
|
|||||||
Reference in New Issue
Block a user