PaulAnnekov / tuyaha

Implements the special Tuya Home Assistant API.
Other
142 stars 106 forks source link

WI-FI Curtain module #53

Closed blaurence closed 3 years ago

blaurence commented 3 years ago

Hello,

I have a wifi curtain module, using "debug_discovery.py" the device is listed as a "switch" instead of "cover". { 'data': {'online': True, 'state': False}, 'dev_type': 'switch', 'ha_type': 'switch', 'icon': 'https://images.tuyaeu.com/smart/icon/ay15327721968035jwx9/15875408093b983969598.jpg', 'id': 'XXXXXXXXXXXXXXXXX', 'name': 'Volet du bureau'}

I tried customisation: `cover:

But i don't work.

I have another device ( https://images.tuyaeu.com/smart/icon/ay15327721968035jwx9/1591929607367ee07f6f2.jpg ) and the device is a cover.

Can you confirm it's a tuya issue ? Thanks.

IMAMBAKS commented 3 years ago

I also have a curtain switch: currydouble 5th generation (tuya --> smart_life) which shows up at Home Assistant, but doesn't respond when turning it on/off:

The script shows the following output:

{
   "data":{
      "online":True,
      "state":False
   },
   "dev_type":"switch",
   "ha_type":"switch",
   "icon":"https://images.tuyaeu.com/smart/program_category_icon/clkg.png",
   "id":"XXXXXXXXXXXXXXXXXXXX",
   "name":"rolluik"
}

image

Its working in the app flawlessly:

image

PaulAnnekov commented 3 years ago

@blaurence does it work at least as a switch? Does it reacts on turn on/off in HA?

PaulAnnekov commented 3 years ago

@IMAMBAKS https://github.com/PaulAnnekov/tuyaha#my-device-is-not-listed-in-tuya-api-response-or-contains-incomplete-state-what-should-i-do

blaurence commented 3 years ago

Thank you for your reply. No, switch does not do anything. I also write an email to tuya support but nos response.

rulez86 commented 3 years ago

Hello, any news about that? I have same issue. Device is shown up as a switch, but it's a curtain. No reaction by using the switch in home assistant.

PaulAnnekov commented 3 years ago

Actually, we can't do anything here w/o Tuya support. Closing for better times.