diff --git a/custom_components/tuya_local/devices/gosund_wp9rtl_3_outlet_usb_child_lock_and_state.yaml b/custom_components/tuya_local/devices/gosund_wp9rtl_3_outlet_usb_child_lock_and_state.yaml new file mode 100644 index 00000000000..d77c0f00e70 --- /dev/null +++ b/custom_components/tuya_local/devices/gosund_wp9rtl_3_outlet_usb_child_lock_and_state.yaml @@ -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