PaulAnnekov / tuyaha

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

CE Smart Home LA WF3 Wifi Plug is listed! #55

Closed severinbeauvais closed 3 years ago

severinbeauvais commented 3 years ago

Hi,

As instructed by the readme, I ran the debug discovery script and my 2 devices are listed.

Here is their output:

{   'header': {'code': 'SUCCESS', 'payloadVersion': 1},
    'payload': {   'devices': [   {   'data': {'online': True, 'state': False},
                                      'dev_type': 'switch',
                                      'ha_type': 'switch',
                                      'icon': 'https://images.tuyaus.com/smart/icon/1504574998_0.png',
                                      'id': '45412206dc4f22e21198',
                                      'name': 'Plug 1'},
                                  {   'data': {'online': True, 'state': False},
                                      'dev_type': 'switch',
                                      'ha_type': 'switch',
                                      'icon': 'https://images.tuyaus.com/smart/icon/1504574998_0.png',
                                      'id': '45412206dc4f22e227c8',
                                      'name': 'Plug 2'}],
                   'scenes': []}}

Thanks for providing this!

Cheers, Severin B.

PaulAnnekov commented 3 years ago

Hi. I don't understand your problem. Don't they appear in Home Assistant?

severinbeauvais commented 3 years ago

Hi!

First of all, the readme instructions ask me to post the above in a ticket. Maybe that's not needed and the readme should be updated?

Secondly, yes, these do appear in HA! Thank you very much!

PaulAnnekov commented 3 years ago

Ok, updated wrong description, thanks ;).

severinbeauvais commented 3 years ago

The updated readme looks good. Thanks 👍