Skip to content

Commit

Permalink
Merge pull request #1184 from Necroneco/rs1bb
Browse files Browse the repository at this point in the history
Fix Linptech Submersion Sensor (RS1BB)
  • Loading branch information
AlexxIT authored Oct 26, 2023
2 parents 7ed3be8 + 1c93328 commit 9ed0233
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions custom_components/xiaomi_gateway3/core/converters/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -1356,6 +1356,13 @@
EventConv("action", mi="2.e.1025", value="timer1"),
EventConv("action", mi="3.e.1025", value="timer2"),
],
}, {
16143: ["Linptech", "Submersion Sensor", "RS1BB"],
"spec": [
MiBeacon, BLEWaterLeak, BLEBattery,
Converter("water_leak", mi="2.p.1006"),
Converter("battery", mi="3.p.1003"),
],
}]

# Xiaomi BLE MiBeacon only spec
Expand Down Expand Up @@ -3102,12 +3109,6 @@
"spec": [
Converter("switch", "switch", mi="2.p.1", enabled=None), # bool
],
}, {
16143: ["Linptech", "Submersion Sensor", "linp.flood.rs1bb"],
"spec": [
Converter("moisture", "binary_sensor", mi="2.p.1006"), # bool
Converter("battery", "sensor", mi="3.p.1003"),
],
}, {
16204: ["Linptech", "Pressure Sensor", "linp.senpres.ps1bb"],
"spec": [
Expand Down

0 comments on commit 9ed0233

Please sign in to comment.