Skip to content

Commit

Permalink
Merge pull request #1494 from swas/patch-camping_lamp02
Browse files Browse the repository at this point in the history
Add support for Xiaomi hoto.light.lamp02
  • Loading branch information
AlexxIT authored Nov 18, 2024
2 parents 191056e + ce13547 commit bc85aca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/xiaomi_gateway3/core/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -3594,6 +3594,8 @@
}, {
# https://home.miot-spec.com/spec/hoto.light.lamp
9387: ["Xiaomi", "Multifunctional Camping Lantern", "hoto.light.lamp"],
# https://home.miot-spec.com/spec/hoto.light.lamp02
12594: ["Xiaomi", "Multifunctional Camping Lantern", "hoto.light.lamp02"],
"spec": [
BaseConv("light", "light", mi="2.p.1"),
BrightnessConv("brightness", mi="2.p.2", max=100),
Expand Down

0 comments on commit bc85aca

Please sign in to comment.