From 02eb7f2752723c41c2e622e48676a11607259d6e Mon Sep 17 00:00:00 2001 From: Evan Schalton Date: Sat, 16 Mar 2024 19:05:38 +0000 Subject: [PATCH] chore: update parser to match core pr --- custom_components/tuya_openapi/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom_components/tuya_openapi/base.py b/custom_components/tuya_openapi/base.py index 25ea7da..94b3071 100644 --- a/custom_components/tuya_openapi/base.py +++ b/custom_components/tuya_openapi/base.py @@ -169,11 +169,11 @@ def from_raw(cls, data: str) -> Self: if data[0] == "C": temperature_unit = UnitOfTemperature.CELSIUS decoded_bytes = base64.b64decode(data) - _temperature, _humidity = struct.Struct("