-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[miio] adding new devices #7273
Conversation
Adding several new devices. including: yeelink.light.color4 openhab#7016 Mi Home PTX Wall Switches (090615.switch.xswitch03) openhab#7000 Xiaomi Ceiling Lamp (yeelink.light.ceiling11) openhab#6787 Additional sensors and information in zhimi.airpurifier.v7 openhab#5760 Signed-off-by: Marcel Verpaalen <[email protected]>
Travis tests were successfulHey @marcelrv, |
@@ -4,6 +4,7 @@ | |||
"yeelink.light.color1", | |||
"yeelink.light.color2", | |||
"yeelink.light.color3", | |||
"yeelink.light.color4", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use tabs to make this consistent with everything else.
@@ -307,7 +315,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena | |||
| Channel | Type | Description | | |||
|------------------|---------|-------------------------------------| | |||
| power | Switch | Power | | |||
| mode | String | Mode | | |||
| humidifierMode | String | Mode | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe update the description too? The channel name has more information than the description does...
Signed-off-by: Marcel Verpaalen <[email protected]>
note, I moved the 2 typo's correction in the readme to the cloud PR o avoid merge conflict. |
Travis tests were successfulHey @marcelrv, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are probably a lot more "Shutdowm" misspells that were out of scope of this PR. Not sure if you should fix them all as part of this PR though 😕
However, many devices share large similarities with existing devices. | ||
However, many devices share large similarties with existing devices. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The original spelling was correct
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I known.. to avoid the usual git voodoo I made the comment earlier: note, I moved the 2 typo's correction in the readme to the cloud PR to avoid merge conflict.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, you didn't specify which two you moved though, lol.
However, many devices share large similarities with existing devices. | ||
However, many devices share large similarties with existing devices. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here too
Group G_light "Yeelight LED Ceiling Lamp v9" <status> | ||
Switch power "Power" (G_light) {channel="miio:basic:light:power"} | ||
Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} | ||
Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} | |
Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} |
Group G_light "Yeelight LED Ceiling Lamp v11" <status> | ||
Switch power "Power" (G_light) {channel="miio:basic:light:power"} | ||
Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} | ||
Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} | |
Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} |
Group G_light "Yeelight LED Ceiling Lamp v12" <status> | ||
Switch power "Power" (G_light) {channel="miio:basic:light:power"} | ||
Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} | ||
Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} | |
Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} |
Group G_light "Yeelight LED Ceiling Lamp v13" <status> | ||
Switch power "Power" (G_light) {channel="miio:basic:light:power"} | ||
Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} | ||
Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} | |
Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} |
Group G_light "Yeelight Color Bulb YLDP02YL 9W" <status> | ||
Switch power "Power" (G_light) {channel="miio:basic:light:power"} | ||
Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} | ||
String delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
String delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} | |
String delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} |
}, | ||
{ | ||
"property": "delayoff", | ||
"friendlyName": "Shutdowm Timer", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"friendlyName": "Shutdowm Timer", | |
"friendlyName": "Shutdown Timer", |
Signed-off-by: Marcel Verpaalen <[email protected]>
Yes, seems the Shutdowm typo was there since early on and copied to the many derivatives. |
Travis tests were successfulHey @marcelrv, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Adding several new devices. including: yeelink.light.color4 openhab#7016 Mi Home PTX Wall Switches (090615.switch.xswitch03) openhab#7000 Xiaomi Ceiling Lamp (yeelink.light.ceiling11) openhab#6787 Additional sensors and information in zhimi.airpurifier.v7 openhab#5760 fix formatting and channel correct Shutdowm typo Signed-off-by: Marcel Verpaalen <[email protected]> Signed-off-by: Hans-Reiner Hoffmann <[email protected]>
Adding several new devices. including: yeelink.light.color4 openhab#7016 Mi Home PTX Wall Switches (090615.switch.xswitch03) openhab#7000 Xiaomi Ceiling Lamp (yeelink.light.ceiling11) openhab#6787 Additional sensors and information in zhimi.airpurifier.v7 openhab#5760 fix formatting and channel correct Shutdowm typo Signed-off-by: Marcel Verpaalen <[email protected]> Signed-off-by: Eugen Freiter <[email protected]>
Adding several new devices. including: yeelink.light.color4 openhab#7016 Mi Home PTX Wall Switches (090615.switch.xswitch03) openhab#7000 Xiaomi Ceiling Lamp (yeelink.light.ceiling11) openhab#6787 Additional sensors and information in zhimi.airpurifier.v7 openhab#5760 fix formatting and channel correct Shutdowm typo Signed-off-by: Marcel Verpaalen <[email protected]>
Adding several new devices. including: yeelink.light.color4 openhab#7016 Mi Home PTX Wall Switches (090615.switch.xswitch03) openhab#7000 Xiaomi Ceiling Lamp (yeelink.light.ceiling11) openhab#6787 Additional sensors and information in zhimi.airpurifier.v7 openhab#5760 fix formatting and channel correct Shutdowm typo Signed-off-by: Marcel Verpaalen <[email protected]>
Adding several new devices. including: yeelink.light.color4 openhab#7016 Mi Home PTX Wall Switches (090615.switch.xswitch03) openhab#7000 Xiaomi Ceiling Lamp (yeelink.light.ceiling11) openhab#6787 Additional sensors and information in zhimi.airpurifier.v7 openhab#5760 fix formatting and channel correct Shutdowm typo Signed-off-by: Marcel Verpaalen <[email protected]>
Adding several new devices. including: yeelink.light.color4 openhab#7016 Mi Home PTX Wall Switches (090615.switch.xswitch03) openhab#7000 Xiaomi Ceiling Lamp (yeelink.light.ceiling11) openhab#6787 Additional sensors and information in zhimi.airpurifier.v7 openhab#5760 fix formatting and channel correct Shutdowm typo Signed-off-by: Marcel Verpaalen <[email protected]> Signed-off-by: CSchlipp <[email protected]>
Adding several new devices. including: yeelink.light.color4 openhab#7016 Mi Home PTX Wall Switches (090615.switch.xswitch03) openhab#7000 Xiaomi Ceiling Lamp (yeelink.light.ceiling11) openhab#6787 Additional sensors and information in zhimi.airpurifier.v7 openhab#5760 fix formatting and channel correct Shutdowm typo Signed-off-by: Marcel Verpaalen <[email protected]>
Adding several new devices. including: yeelink.light.color4 openhab#7016 Mi Home PTX Wall Switches (090615.switch.xswitch03) openhab#7000 Xiaomi Ceiling Lamp (yeelink.light.ceiling11) openhab#6787 Additional sensors and information in zhimi.airpurifier.v7 openhab#5760 fix formatting and channel correct Shutdowm typo Signed-off-by: Marcel Verpaalen <[email protected]>
Adding several new devices. including: yeelink.light.color4 openhab#7016 Mi Home PTX Wall Switches (090615.switch.xswitch03) openhab#7000 Xiaomi Ceiling Lamp (yeelink.light.ceiling11) openhab#6787 Additional sensors and information in zhimi.airpurifier.v7 openhab#5760 fix formatting and channel correct Shutdowm typo Signed-off-by: Marcel Verpaalen <[email protected]>
Adding several new devices. including: yeelink.light.color4 openhab#7016 Mi Home PTX Wall Switches (090615.switch.xswitch03) openhab#7000 Xiaomi Ceiling Lamp (yeelink.light.ceiling11) openhab#6787 Additional sensors and information in zhimi.airpurifier.v7 openhab#5760 fix formatting and channel correct Shutdowm typo Signed-off-by: Marcel Verpaalen <[email protected]>
Adding several new devices. including: yeelink.light.color4 openhab#7016 Mi Home PTX Wall Switches (090615.switch.xswitch03) openhab#7000 Xiaomi Ceiling Lamp (yeelink.light.ceiling11) openhab#6787 Additional sensors and information in zhimi.airpurifier.v7 openhab#5760 fix formatting and channel correct Shutdowm typo Signed-off-by: Marcel Verpaalen <[email protected]> Signed-off-by: Daan Meijer <[email protected]>
Adding several new devices. including: yeelink.light.color4 openhab#7016 Mi Home PTX Wall Switches (090615.switch.xswitch03) openhab#7000 Xiaomi Ceiling Lamp (yeelink.light.ceiling11) openhab#6787 Additional sensors and information in zhimi.airpurifier.v7 openhab#5760 fix formatting and channel correct Shutdowm typo Signed-off-by: Marcel Verpaalen <[email protected]>
Adding several new devices. including:
yeelink.light.color4 #7016
Mi Home PTX Wall Switches (090615.switch.xswitch03) #7000
Xiaomi Ceiling Lamp (yeelink.light.ceiling11) #6787
Additional sensors and information in zhimi.airpurifier.v7 #5760
Signed-off-by: Marcel Verpaalen [email protected]