Просмотр исходного кода

Docs and tweaks for PR #2821

- remove icon and name overrides for translated entities.
Jason Rumney 1 год назад
Родитель
Сommit
a062b3ef91

+ 1 - 1
ACKNOWLEDGEMENTS.md

@@ -820,5 +820,5 @@ Further device support has been made with the assistance of users. Please consid
 - [DLV111](https://github.com/DLV111) for contributing product details for Arlec downlight matching RGBCW lightbulb.
 - [DLV111](https://github.com/DLV111) for contributing product details for Arlec downlight matching RGBCW lightbulb.
 - [mikita-liaukovich-epam](https://github.com/mikita-liaukovich-epam) for contributing support for Clofte Duo 400 humidifier.
 - [mikita-liaukovich-epam](https://github.com/mikita-liaukovich-epam) for contributing support for Clofte Duo 400 humidifier.
 - [tal6203](https://github.com/tal6203) for assisting with support for Delixing aroma diffuser.
 - [tal6203](https://github.com/tal6203) for assisting with support for Delixing aroma diffuser.
-- [rclarkmorrow](https://github.com/rclarkmorrow) for contributing support for Powersav AHR-083 powerstrip (which was merged to generic quad powerstrip with timer).
+- [rclarkmorrow](https://github.com/rclarkmorrow) for contributing support for Powersav AHR-083 powerstrip (which was merged to generic quad powerstrip with timer) and Gosund WP9 powerstrip with USB, child lock and initial state.
 - [ralsinn](https://github.com/ralsinn) for contributing support for Absina Wallbox EV charger.
 - [ralsinn](https://github.com/ralsinn) for contributing support for Absina Wallbox EV charger.

+ 2 - 1
DEVICES.md

@@ -536,7 +536,8 @@ the best option.
 - ES01 3 outlet + USB powerstrip with individual timers
 - ES01 3 outlet + USB powerstrip with individual timers
 - ESP Fort EC-SPSP USB and mains smartplug
 - ESP Fort EC-SPSP USB and mains smartplug
 - Gosund P1 3 outlet + USB powerstrip with power monitoring
 - Gosund P1 3 outlet + USB powerstrip with power monitoring
-- Gosund SP112 RTL energy monitoring smartplug with USB
+- Gosund SP112-RTL energy monitoring smartplug with USB
+- Gosund WP9-RTL 3 outlet + USB powerstrip with child lock and initial state
 - Grid Connect double outlet wall socket
 - Grid Connect double outlet wall socket
 - Grid Connect double outlet with Energy Monitoring, Master and Individual switches and Child Lock
 - Grid Connect double outlet with Energy Monitoring, Master and Individual switches and Child Lock
 - Grid Connect USB charger with power socket
 - Grid Connect USB charger with power socket

+ 1 - 3
custom_components/tuya_local/devices/gosund_wp9rtl_3_outlet_usb_child_lock_and_state.yaml

@@ -2,7 +2,7 @@ name: Triple powerstrip with USB
 products:
 products:
   - id: rccfczzprrjvkpiz
   - id: rccfczzprrjvkpiz
     manufacturer: Gosund
     manufacturer: Gosund
-    model: WP9_RTL
+    model: WP9-RTL
 entities:
 entities:
   - entity: switch
   - entity: switch
     translation_key: outlet_x
     translation_key: outlet_x
@@ -144,7 +144,6 @@ entities:
             step: 60
             step: 60
   - entity: lock
   - entity: lock
     translation_key: child_lock
     translation_key: child_lock
-    icon: "mdi:account-lock"
     category: config
     category: config
     dps:
     dps:
       - id: 40
       - id: 40
@@ -152,7 +151,6 @@ entities:
         name: lock
         name: lock
   - entity: select
   - entity: select
     translation_key: initial_state
     translation_key: initial_state
-    name: "Power on behavior"
     category: config
     category: config
     dps:
     dps:
       - id: 38
       - id: 38