From 6ce2b52ce1808b689602a052cc457e3da9820592 Mon Sep 17 00:00:00 2001 From: Necroneco Date: Fri, 3 Nov 2023 22:15:30 +0800 Subject: [PATCH] Revert to moisture for RS1BB --- custom_components/xiaomi_gateway3/core/converters/devices.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/custom_components/xiaomi_gateway3/core/converters/devices.py b/custom_components/xiaomi_gateway3/core/converters/devices.py index 807e19eb..39988bac 100644 --- a/custom_components/xiaomi_gateway3/core/converters/devices.py +++ b/custom_components/xiaomi_gateway3/core/converters/devices.py @@ -1359,9 +1359,8 @@ }, { 16143: ["Linptech", "Submersion Sensor", "RS1BB"], "spec": [ - MiBeacon, BLEWaterLeak, BLEBattery, - Converter("water_leak", mi="2.p.1006"), - Converter("battery", mi="3.p.1003"), + Converter("moisture", "binary_sensor", mi="2.p.1006"), + Converter("battery", "sensor", mi="3.p.1003"), ], }, { # https://home.miot-spec.com/spec/linp.senpres.ps1bb