Skip to content

Commit

Permalink
Merge pull request #1469 from meteoral/add_fcl201
Browse files Browse the repository at this point in the history
Add more detail about `changing` state [Loock Smart Lock V5]
  • Loading branch information
AlexxIT authored Oct 8, 2024
2 parents 0acd959 + c25f0bb commit 79d41bd
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion custom_components/xiaomi_gateway3/core/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -1933,7 +1933,16 @@
# small battery sensor
BaseConv("battery", "sensor", mi="4.p.1003"),
# charging state
BaseConv("changing", "sensor", mi="4.p.1034"),
MapConv("changing", "sensor", mi="4.p.1034", map={
0: 'All Not Inserted',
1: 'Large Inserted',
2: 'Small Inserted',
3: 'Large And Small Inserted',
4: 'USB Inserted',
5: 'USB Inserted And Large Inserted',
6: 'USB Inserted And Small Inserted',
7: 'All Inserted'
}),
# doorbell
ConstConv("action", mi="5.e.1006", value="doorbell"),
# doorbell timestamp
Expand Down

0 comments on commit 79d41bd

Please sign in to comment.