Jelajahi Sumber

feat(smartplug_usb): add basic Green Power GP-SP1U model

This is very basic, exposing only switches and timers, but it is following
the same standard dps layout, and since all the config and sensor entites are
already hidden: unavailable, the config will be a perfect fit, with the caveat
that this device does not report any dps in initial poll, so timers may also
end up disabled by default until the user manually reenables them.

Issue #6078
Jason Rumney 1 bulan lalu
induk
melakukan
25cb448476
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  1. 3 0
      custom_components/tuya_local/devices/smartplug_usb.yaml

+ 3 - 0
custom_components/tuya_local/devices/smartplug_usb.yaml

@@ -6,6 +6,9 @@ products:
   - id: re5wqraswcozglky
   - id: re5wqraswcozglky
     manufacturer: Gosund
     manufacturer: Gosund
     model: SP6
     model: SP6
+  - id: uofbqh4uyqkiac1l
+    manufacturer: Green Power
+    model: GP-SP1U
 entities:
 entities:
   - entity: switch
   - entity: switch
     class: outlet
     class: outlet