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:
parent
bdfe999bca
commit
cc43251b5d
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue