PaulAnnekov / tuyaha

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

Trentlife SS02 switch output #56

Open medic3447 opened 3 years ago

medic3447 commented 3 years ago

Getting devices Got devices { '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/ay14906729310721fNjn/1568862727a52b550fe9a.jpg', 'id': '573253775002916d32c0', 'name': 'Front of garage'}, { 'data': {'online': True, 'state': False}, 'dev_type': 'switch', 'ha_type': 'switch', 'icon': 'https://images.tuyaus.com/smart/icon/ay14906729310721fNjn/1568862727a52b550fe9a.jpg', 'id': '57325377c82b960ff616', 'name': 'House Floods'}, { 'data': {'online': True, 'state': False}, 'dev_type': 'switch', 'ha_type': 'switch', 'icon': 'https://images.tuyaus.com/smart/icon/ay14906729310721fNjn/1568862727a52b550fe9a.jpg', 'id': '57325377c82b960ff677', 'name': 'Garage floods'}], 'scenes': []}}

medic3447 commented 3 years ago

Hello I have 3x treatlife SS02 switches ( https://www.amazon.com/gp/product/B07V3XB1QG/ref=ppx_yo_dt_b_asin_title_o05_s01?ie=UTF8&psc=1 ) that will turn on however will not turn off with the integration. Here is the output....

PaulAnnekov commented 3 years ago

Did I understand correctly, that integration can turn them on, but can't turn them off?