tuya / tuya-home-assistant

Home Assistant integration for controlling Powered by Tuya (PBT) devices using Tuya Open API, maintained by the Home Assistant Community and Tuya Developer Team.
MIT License
882 stars 207 forks source link

WiFi Plug Not Discovered Correctly #441

Open JGrantman opened 3 years ago

JGrantman commented 3 years ago

I have a single outlet WiFi Plug with an LED light ring on the plug. Only the LED accent light is discovered -- not the actual outlet/plug switch or the overall plug on/off.

I can tigger the LED accent light on and off. There is no other entity available -- which means the outlet/plug switch can't be turned on/off.

The Smart Life app and Google Home app both show 3 devices: (1) Switch (2) LED accent light (3) Plug (controls both switch and LED accent light)

This is the device listing on Amazon.com: Netvip--Direct - WiFi Smart Plug Mini Smart Outlet with Atmosphere Light, Timer Function, Device Sharing, Wall Plug https://www.amazon.com/dp/B07R3TT9Q2/ref=cm_sw_em_r_mt_dp_VFW2S8CEN3TAKMJ941W1?_encoding=UTF8&psc=1

Here are the details for the device from Tuya IoT site: "biz_type": 18, "category": "dj", "icon": "smart/icon/1493017690_0.png", "online": true, "product_id": "ZJBCl23ZIZCfBYAw", "product_name": "RGB Smart Plug",

"status": [
  {
    "code": "switch_led",
    "value": false
  },
  {
    "code": "colour_data",
    "value": "{\"h\":0.0,\"s\":255.0,\"v\":255.0}"
  },
  {
    "code": "switch_1",
    "value": false
  }
],
"sub": false,

John Grantman

fOmey commented 3 years ago

I own the same plug (AU variant) and experiencing the same issue.

This issue appears to be a duplicate of: #134