Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit 486cda9

Browse files
paulnballoob
authored andcommitted
Add Yeelight Bedside Lamp support (#160)
1 parent 8ce5113 commit 486cda9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

netdisco/discoverables/yeelight.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ def info_from_entry(self, entry):
2323
device_type = "white"
2424
elif entry.name.startswith("yeelink-light-strip1_"):
2525
device_type = "strip"
26+
elif entry.name.startswith("yeelink-light-bslamp1_"):
27+
device_type = "bedside"
2628
else:
2729
logging.warning("Unknown miio device found: %s", entry)
2830

0 commit comments

Comments
 (0)