From 05b8c9d9dfd8d6058cf185a5db87864c99dc503a Mon Sep 17 00:00:00 2001 From: Erik Gieseler <72557610+erikgieseler@users.noreply.github.com> Date: Mon, 27 May 2024 16:58:48 +0200 Subject: [PATCH] Update message.py --- custom_components/midea_ac_lan/midea/devices/c3/message.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/midea_ac_lan/midea/devices/c3/message.py b/custom_components/midea_ac_lan/midea/devices/c3/message.py index c7dbf5f2..30f53726 100644 --- a/custom_components/midea_ac_lan/midea/devices/c3/message.py +++ b/custom_components/midea_ac_lan/midea/devices/c3/message.py @@ -167,13 +167,13 @@ def __init__(self, body, data_offset=0): + (body[data_offset + 6] << 16) + (body[data_offset + 7] << 8) + (body[data_offset + 8]) - ) - + ) base_value = body[data_offset + 9] self.outdoor_temperature = ( (base_value - 256) if base_value > 127 else base_value ) + class MessageC3Response(MessageResponse): def __init__(self, message): super().__init__(message)