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

Disable hue light controls when in sync mode #1144

Merged
merged 1 commit into from
Jun 11, 2024
Merged
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
7 changes: 3 additions & 4 deletions drivers/SmartThings/philips-hue/profiles/legacy-color.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ components:
version: 1
- id: switchLevel
version: 1
config:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the custom presentation isn't visible in this changeset, I wanted to make a visibility comment here to call out that these embedded device configs are removed in this PR because they're rolled in to the custom presentation upon which this PR depends.

values:
- key: "level.value"
range: [ 1, 100 ]
- id: colorControl
version: 1
- id: samsungim.hueSyncMode
Expand All @@ -18,3 +14,6 @@ components:
version: 1
categories:
- name: Light
metadata:
mnmn: SmartThingsEdge
vid: philips-legacy-color
11 changes: 3 additions & 8 deletions drivers/SmartThings/philips-hue/profiles/white-ambiance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,14 @@ components:
version: 1
- id: switchLevel
version: 1
config:
values:
- key: "level.value"
range: [ 1, 100 ]
- id: colorTemperature
version: 1
config:
values:
- key: "colorTemperature.value"
range: [ 2200, 6500 ]
- id: samsungim.hueSyncMode
version: 1
- id: refresh
version: 1
categories:
- name: Light
metadata:
mnmn: SmartThingsEdge
vid: philips-white-ambiance
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,16 @@ components:
version: 1
- id: switchLevel
version: 1
config:
values:
- key: "level.value"
range: [ 1, 100 ]
- id: colorControl
version: 1
- id: colorTemperature
version: 1
config:
values:
- key: "colorTemperature.value"
range: [ 2000, 6500 ]
- id: samsungim.hueSyncMode
version: 1
- id: refresh
version: 1
categories:
- name: Light
metadata:
mnmn: SmartThingsEdge
vid: philips-white-and-color-ambiance
7 changes: 3 additions & 4 deletions drivers/SmartThings/philips-hue/profiles/white.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@ components:
version: 1
- id: switchLevel
version: 1
config:
values:
- key: "level.value"
range: [ 1, 100 ]
- id: samsungim.hueSyncMode
version: 1
- id: refresh
version: 1
categories:
- name: Light
metadata:
mnmn: SmartThingsEdge
vid: philips-white
Loading