Skip to content

Commit

Permalink
Merge pull request #1144 from bflorian/hue-light-sync-support
Browse files Browse the repository at this point in the history
Disable hue light controls when in sync mode
  • Loading branch information
bflorian authored Jun 11, 2024
2 parents 32b1b49 + 0cd2002 commit 47aa81a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 24 deletions.
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:
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

0 comments on commit 47aa81a

Please sign in to comment.