Skip to content

Commit

Permalink
Create gosund_wp9rtl_3_outlet_usb_child_lock_and_state.yaml
Browse files Browse the repository at this point in the history
This is also GHome, or at least what it was marketed on Amazon as with a GHome logo but the devices themselves sport a Gosund logo. It's different from the other Gosund triple outlet device listed here in that it doesn't have power monitoring but does have child lock and last-state memory. I have tested these features and observed that they work.

However, I am not sure how the cycle_time, random_time and inching values are supposed to work, following patterns of other devices here and can see them added to the switches as attributes, but don't see how to manipulate the values.

Amazon product page for reference:
https://www.amazon.com/gp/product/B09JZ398R8/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
  • Loading branch information
rclarkmorrow authored Jan 20, 2025
1 parent 4d4cd82 commit f74d181
Showing 1 changed file with 167 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
name: Gosund 3-Outlet + USB Powerstrip with Child Lock and State Memory
products:
- id: eb6391c739970f8d8611id
manufacturer: Gosund
model: WP9_RTL
entities:
- entity: switch
translation_key: outlet_x
translation_placeholders:
x: "1"
class: outlet
dps:
- id: 1
type: boolean
name: switch
- id: 41
name: cycle_time
type: string
- id: 42
name: random_time
type: string
- id: 43
name: inching
type: string
- entity: switch
translation_key: outlet_x
translation_placeholders:
x: "2"
class: outlet
dps:
- id: 2
type: boolean
name: switch
- id: 41
name: cycle_time
type: string
- id: 42
name: random_time
type: string
- id: 43
name: inching
type: string
- entity: switch
translation_key: outlet_x
translation_placeholders:
x: "3"
class: outlet
dps:
- id: 3
type: boolean
name: switch
- id: 41
name: cycle_time
type: string
- id: 42
name: random_time
type: string
- id: 43
name: inching
type: string
- entity: switch
name: USB switch
class: switch
dps:
- id: 7
type: boolean
name: switch
- id: 41
name: cycle_time
type: string
- id: 42
name: random_time
type: string
- id: 43
name: inching
type: string
- entity: number
category: config
class: duration
translation_key: timer_x
translation_placeholders:
x: "1"
dps:
- id: 9
name: value
type: integer
unit: min
range:
min: 0
max: 86400
mapping:
- scale: 60
step: 60
- entity: number
category: config
class: duration
translation_key: timer_x
translation_placeholders:
x: "2"
dps:
- id: 10
name: value
type: integer
unit: min
range:
min: 0
max: 86400
mapping:
- scale: 60
step: 60
- entity: number
category: config
class: duration
translation_key: timer_x
translation_placeholders:
x: "3"
dps:
- id: 11
name: value
type: integer
unit: min
range:
min: 0
max: 86400
mapping:
- scale: 60
step: 60
- entity: number
category: config
class: duration
name: USB timer
translation_key: timer
dps:
- id: 15
name: value
type: integer
unit: min
range:
min: 0
max: 86400
mapping:
- scale: 60
step: 60
- entity: lock
translation_key: child_lock
icon: "mdi:account-lock"
category: config
dps:
- id: 40
type: boolean
name: lock
- entity: select
translation_key: initial_state
name: "Power on behavior"
category: config
dps:
- id: 38
type: string
name: option
mapping:
- dps_val: "1"
value: "on"
- dps_val: "0"
value: "off"
- dps_val: "2"
value: memory
type: string

Check failure on line 167 in custom_components/tuya_local/devices/gosund_wp9rtl_3_outlet_usb_child_lock_and_state.yaml

View workflow job for this annotation

GitHub Actions / lint

167:9 [key-duplicates] duplication of key "type" in mapping

0 comments on commit f74d181

Please sign in to comment.