Merge PR #693: Tado: Suppress a warning when thermostat is off

This commit is contained in:
jenkins 2023-05-16 12:59:22 +02:00
commit d1507f14d0

View File

@ -429,7 +429,7 @@ void IntegrationPluginTado::onZoneStateReceived(const QString &homeId, const QSt
thing->setStateValue(zonePowerStateTypeId, (state.heatingPowerPercentage > 0));
thing->setStateValue(zoneConnectedStateTypeId, state.connected);
thing->setStateValue(zoneTargetTemperatureStateTypeId, state.settingTemperature);
thing->setStateValue(zoneTargetTemperatureStateTypeId, qMax(5.0, state.settingTemperature));
thing->setStateValue(zoneTemperatureStateTypeId, state.temperature);
thing->setStateValue(zoneHumidityStateTypeId, state.humidity);
thing->setStateValue(zoneWindowOpenDetectedStateTypeId, state.windowOpenDetected);