From 464d8f6dcdf6bb2b3538ccf559f21129c7068858 Mon Sep 17 00:00:00 2001 From: Bartlomiej Kobus Date: Fri, 15 May 2026 11:29:31 +0200 Subject: [PATCH] feat: add temperature sensors to thermoBox --- blebox_uniapi/box_types.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/blebox_uniapi/box_types.py b/blebox_uniapi/box_types.py index f204248..3727251 100644 --- a/blebox_uniapi/box_types.py +++ b/blebox_uniapi/box_types.py @@ -194,6 +194,14 @@ def get_latest_api_level(product_type: str) -> Union[dict, int]: }, ] ], + "sensors": [ + [ + "temperature", + { + "temperature": lambda x: f"sensors[?id == `{x}`]|[0]|value", + }, + ] + ], } }, # saunaBox