Fix logging for appliances where consumption data is not supported (#12728)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
Jacob Laursen 2022-05-12 23:12:32 +02:00 committed by GitHub
parent bdfe999bca
commit cc43251b5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@ public class DishWasherHandler extends MieleApplianceHandler<DishwasherChannelSe
public void onApplianceExtendedStateChanged(byte[] extendedDeviceState) {
if (extendedDeviceState.length < EXTENDED_STATE_MIN_SIZE_BYTES) {
logger.warn("Unexpected size of extended state: {}", extendedDeviceState);
logger.debug("Insufficient extended state data to extract consumption values: {}", extendedDeviceState);
return;
}

View File

@ -116,7 +116,7 @@ public class WashingMachineHandler extends MieleApplianceHandler<WashingMachineC
public void onApplianceExtendedStateChanged(byte[] extendedDeviceState) {
if (extendedDeviceState.length < EXTENDED_STATE_MIN_SIZE_BYTES) {
logger.warn("Unexpected size of extended state: {}", extendedDeviceState);
logger.debug("Insufficient extended state data to extract consumption values: {}", extendedDeviceState);
return;
}