I followed the instructions and was having difficulity getting the driver to sign in.
I looked into the code and discovered that settings.countryCode in line 1268 was null - I changed this to state.countryCode and done the same on line 1273 and then the driver was able to get a token.
Next issue that has me stumped is that I'm getting the error -> No permissions. This API is not subscribed. Log reproduced below.
Anyone got any ideas? This hub is on 2.3.0.113
Update - I hit "Refresh" and the driver found my 4 devices !!!!!
3 of my devices are Heaters - the driver references "Generic Component Heating Device" - Hubitat does not have such as driver - at least my hub don't have one - any ideas for an alternative driver?
My Dehumidifier was created as a Generic Component Switch - as described in an earlier contribution.
dev:15932021-11-28 23:14:09.609 warnTuya Virtual Device cloud API request failed: {"code":28841101,"msg":"No permissions. This API is not subscribed.","success":false,"t":1638141249369}
dev:15932021-11-28 23:14:09.238 debugTuya Virtual Device API POST [uri:https://openapi.tuyaeu.com, path:/v1.0/iot-03/open-hub/access-config, query:null, contentType:application/json, headers:[t:1638141249232, client_id:cqs9swyxb4pmmxx7cky1, Signature-Headers:client_id, sign:51D1BF496555201D48B507750AABDE125A8B1B35472555279F10B2120282F52C, sign_method:HMAC-SHA256, access_token:f5352e44ccdb9aee046126b72af994bb, lang:en], body:{"uid":"eu1612124555516Ii4B7","link_id":"77c1c943-a66b-4922-9d44-9abc8f416137","link_type":"mqtt","topics":"device","msg_encrypted_version":"1.0"}, timeout:20]
dev:15932021-11-28 23:14:09.232 infoTuya Virtual Device requesting Tuya MQTT configuration
dev:15932021-11-28 23:14:09.187 infoTuya Virtual Device received Tuya access token (valid for 7200s)
dev:15932021-11-28 23:14:09.183 debugTuya Virtual Device API response [result:[access_token:f5352e44ccdb9aee046126b72af994bb, expire_time:7200, platform_url:https://openapi.tuyaeu.com,