From 2667932702b8098605fc0a1c49a044ab038f1a3c Mon Sep 17 00:00:00 2001 From: Patrick Pichon Date: Mon, 16 Sep 2024 16:22:47 +0200 Subject: [PATCH] Some time the Boolean can come with a different value than 0x00 or 0x01 (like 0xf0) --- Modules/domoMaj.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Modules/domoMaj.py b/Modules/domoMaj.py index 2ccfc960f..33c98a2ee 100644 --- a/Modules/domoMaj.py +++ b/Modules/domoMaj.py @@ -969,7 +969,8 @@ def _domo_maj_one_cluster_type_entry( self, Devices, NwkId, Ep, device_id_ieee, # Called with ClusterId: 0x0006 but we have to update a Dimmer, so we need to keep the level self.log.logging( "Widget", "Debug", "------> Dimmable blind", NwkId, ) - nValue = int(value) + + nValue = int(value, 16) sValue = prev_sValue if switchType in (13, 16): # Correct for Blinds where we have to display %