Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support yeelink.light.lamp2 (Mi Home Lamp Pro) #266 #267

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/devices/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ Id | Type | Auto-token | Support | Note
`lumi.gateway.v2` | Gateway | Yes | ✅ Basic |
`lumi.gateway.v3` | Gateway | Yes | ✅ Basic |
`yeelink.light.lamp1` | Light | No | ✅ Good |
`yeelink.light.lamp2` | Light | No | ✅ Good |
`yeelink.light.mono1` | Light | No | ✅ Good |
`yeelink.light.color1` | Light | No | ✅ Good |
`yeelink.light.strip1` | Light | No | ⚠️ Untested | Support added, verification with real device needed.
2 changes: 1 addition & 1 deletion docs/devices/light.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Lights

* **Devices**: Mi Yeelight Lamps, Philiphs Bulb, Philiphs Eye Care lamp
* **Model identifiers**: `yeelink.light.lamp1`, `yeelink.light.mono1`, `yeelink.light.color1`, `yeelink.light.strip1`, `philips.light.sread1`, `philips.light.bulb`
* **Model identifiers**: `yeelink.light.lamp1`, `yeelink.light.lamp2`, `yeelink.light.mono1`, `yeelink.light.color1`, `yeelink.light.strip1`, `philips.light.sread1`, `philips.light.bulb`

Lights are turned into devices of type [light][light] and by default support
[power switching][switchable-power] and [dimming][dimmable]. Depending on the
Expand Down
1 change: 1 addition & 0 deletions lib/models.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ module.exports = {
'zimi.powerstrip.v2': PowerStrip,

'yeelink.light.lamp1': YeelightMono,
'yeelink.light.lamp2': YeelightMono,
'yeelink.light.mono1': YeelightMono,
'yeelink.light.color1': YeelightColor,
'yeelink.light.strip1': YeelightColor,
Expand Down
Loading