From 247ebf77d201e176eb5af37f31a5ae15371c9f14 Mon Sep 17 00:00:00 2001 From: caibinqing Date: Thu, 27 Mar 2025 10:37:44 +0800 Subject: [PATCH] remove 'float' --- custom_components/xiaomi_home/miot/specs/specv2entity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/xiaomi_home/miot/specs/specv2entity.py b/custom_components/xiaomi_home/miot/specs/specv2entity.py index 5191c2b..8619a72 100644 --- a/custom_components/xiaomi_home/miot/specs/specv2entity.py +++ b/custom_components/xiaomi_home/miot/specs/specv2entity.py @@ -456,7 +456,7 @@ SPEC_PROP_TRANS_MAP: dict = { 'access': {'read'} }, 'binary_sensor': { - 'format': {'bool', 'int', 'float'}, + 'format': {'bool', 'int'}, 'access': {'read'} }, 'switch': {