Skip to content

Commit

Permalink
New Feature (Hub Driver) Adding profiles and fingerprints CHAD-14786 (#…
Browse files Browse the repository at this point in the history
…1896)

* Adding cooktop hub profile

* Adding washer dryer profile

* Adding two unique fingerprints

* Update washer-dryer-hub.yml

* Adding hardwareTypes 

I missed filing these in earlier so adding them, while Using "_" instead of "-"
  • Loading branch information
lelandblue authored Feb 17, 2025
1 parent becb254 commit 7b20ac3
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/SmartThings/hub/fingerprints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ hub:
deviceLabel: SmartThings Hub
hardwareType: SAMSUNG_DA_REFRIGERATOR_HUB
deviceProfileName: refrigerator-hub
- id: "washer-dryer-hub"
deviceLabel: SmartThings Hub
hardwareType: SAMSUNG_WASHER_DRYER_TIZEN_OPEN
deviceProfileName: washer-dryer-hub
- id: "cooktop-hub"
deviceLabel: SmartThings Hub
hardwareType: SAMSUNG_COOKTOP_TIZEN_OPEN
deviceProfileName: cooktop-hub
hubThing:
- id: "hub-thing"
deviceLabel: SmartThings Hub
Expand Down
33 changes: 33 additions & 0 deletions drivers/SmartThings/hub/profiles/cooktop-hub.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: cooktop-hub
components:
- id: main
label: main
capabilities:
- id: bridge
version: 1
ephemeral: false
categories:
- name: Hub
categoryType: manufacturer
deviceConfig:
icons:
- group: main
badge:
- iconUrl: 'badge://cooktop'
dashboard:
states:
- component: main
capability: bridge
version: 1
dpInfo:
- os: ios
dpUri: 'plugin://com.samsung.ios.plugin.stplugin/assets/files/index.html'
- os: android
dpUri: 'plugin://com.samsung.android.plugin.stplugin'
- os: web
dpUri: 'wwst://com.samsung.one.plugin.stplugin'
arguments:
- key: int_hub
value: 'wwst://com.samsung.one.plugin.chargerplugin'
metadata:
ocfDeviceType: x.com.st.d.hub
33 changes: 33 additions & 0 deletions drivers/SmartThings/hub/profiles/washer-dryer-hub.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: washer-dryer-hub
components:
- id: main
label: main
capabilities:
- id: bridge
version: 1
ephemeral: false
categories:
- name: Hub
categoryType: manufacturer
deviceConfig:
icons:
- group: main
badge:
- iconUrl: 'badge://washer_dryer'
dashboard:
states:
- component: main
capability: bridge
version: 1
dpInfo:
- os: ios
dpUri: 'plugin://com.samsung.ios.plugin.stplugin/assets/files/index.html'
- os: android
dpUri: 'plugin://com.samsung.android.plugin.stplugin'
- os: web
dpUri: 'wwst://com.samsung.one.plugin.stplugin'
arguments:
- key: int_hub
value: 'wwst://com.samsung.one.plugin.chargerplugin'
metadata:
ocfDeviceType: x.com.st.d.hub

0 comments on commit 7b20ac3

Please sign in to comment.