-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[miio] change brightness for Philips bulbs (#7349)
* [miio] change brightness for Philips bulbs add s6 vacuum * [miio] fix Philips light * [miio] remove non existent type * [miio] update philips lights Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
- Loading branch information
Showing
9 changed files
with
110 additions
and
88 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.mono.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"deviceMapping": { | ||
"id": [ | ||
"philips.light.mono1" | ||
], | ||
"channels": [ | ||
{ | ||
"property": "power", | ||
"friendlyName": "Power", | ||
"channel": "power", | ||
"type": "Switch", | ||
"refresh": true, | ||
"ChannelGroup": "", | ||
"actions": [ | ||
{ | ||
"command": "set_power", | ||
"parameterType": "ONOFF" | ||
} | ||
] | ||
}, | ||
{ | ||
"property": "bright", | ||
"friendlyName": "Brightness", | ||
"channel": "brightness", | ||
"type": "Dimmer", | ||
"refresh": true, | ||
"ChannelGroup": "actions", | ||
"actions": [ | ||
{ | ||
"command": "set_bright", | ||
"parameterType": "NUMBER" | ||
} | ||
] | ||
}, | ||
{ | ||
"property": "scene_num", | ||
"friendlyName": "Scene", | ||
"channel": "scene", | ||
"type": "Number", | ||
"refresh": true, | ||
"ChannelGroup": "actions", | ||
"actions": [ | ||
{ | ||
"command": "set_user_scene", | ||
"parameterType": "NUMBER" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b19b0b2
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.
this update breaks functionality of Brightness of Xiaomi Philips Bulb