Skip to content

Commit

Permalink
Merge pull request #1176 from justbin95/master
Browse files Browse the repository at this point in the history
Add support for Linptech Submersion Sensor, Pressure Sensor and gdds.light.wy0a01
  • Loading branch information
AlexxIT authored Oct 25, 2023
2 parents 1a95341 + 89188a0 commit b9f17cb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions custom_components/xiaomi_gateway3/core/converters/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -1719,6 +1719,7 @@
2584: ["XinGuang", "Smart Light", "LIBMDA09X"],
3164: ["LeMesh", "Mesh Light (RF ready)", "lemesh.light.wy0c07"],
7136: ["LeMesh", "Mesh Light v2", "lemesh.light.wy0c09"],
9439: ["GDDS", "Mesh Light", "gdds.light.wy0a01"],
"spec": [
Converter("light", "light", mi="2.p.1"),
BrightnessConv("brightness", mi="2.p.2", parent="light", max=100),
Expand Down Expand Up @@ -3084,4 +3085,16 @@
"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": [
Converter("pressure", "binary_sensor", mi="2.p.1060"), # bool
Converter("battery", "sensor", mi="3.p.1003"),
],
}]

0 comments on commit b9f17cb

Please sign in to comment.