Skip to content

Commit

Permalink
mDNS prefix of the Yeelight Smart LED Ceiling Light (Youth edition) a…
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi authored and balloob committed Mar 27, 2018
1 parent 060575a commit 3d4cd23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions netdisco/discoverables/yeelight.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ def info_from_entry(self, entry):
device_type = "bedside"
elif entry.name.startswith("yeelink-light-ceiling1_"):
device_type = "ceiling"
elif entry.name.startswith("yeelink-light-ceiling2_"):
device_type = "ceiling2"
else:
logging.warning("Unknown miio device found: %s", entry)

Expand Down

0 comments on commit 3d4cd23

Please sign in to comment.