TH10/16 device as full thermostat 

Hello again

th10 works as a temperature sensor and switch separately also, but if i set my th10 as a thermostat but it doesn't work. it also does not show the current temperature it shows that 0.0

I tried it on both Hoobs and Homebridge, both with the latest version.

I also use the latest Ewelink plugin

here is the log after i turned th10 into a thermostat


08/12/2020, 16:45:06 HOOBS listening on port 80.
08/12/2020, 16:45:14 Loaded plugin 'homebridge-ewelink'
08/12/2020, 16:45:15 [12/8/2020, 7:45:14 AM] Registering platform 'homebridge-ewelink.eWeLink'
08/12/2020, 16:45:15 Loading 1 platforms...
08/12/2020, 16:45:15 [eWeLink] Initializing eWeLink platform...
08/12/2020, 16:45:15 [eWeLink] Plugin [v3.17.1] initialised. Syncing with eWeLink...
08/12/2020, 16:45:15 Bridge is running on port 51826.
08/12/2020, 16:45:22 [eWeLink] [1] eWeLink devices loaded from the Homebridge cache.
08/12/2020, 16:45:22 [eWeLink] [1] primary devices loaded from your eWeLink account.
08/12/2020, 16:45:22 [eWeLink]  → [Device384dd3] could not be initialised as accessory.addCharacteristic is not a function.
08/12/2020, 16:45:22 [eWeLink] eWeLink sync complete. Don't forget to ⭐️  this plugin on GitHub if you're finding it useful!
08/12/2020, 17:23:28 (node:641) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'displayName' of undefined
08/12/2020, 17:23:28 at eWeLinkPlatform.deviceUpdateError (/home/hoobs/.hoobs/node_modules/homebridge-ewelink/lib/index.js:754:65)
08/12/2020, 17:23:28 at deviceThermostat.internalOnOffUpdate (/home/hoobs/.hoobs/node_modules/homebridge-ewelink/lib/device/thermostat.js:60:21)
08/12/2020, 17:23:28 (Use `node --trace-warnings ...` to show where the warning was created)
08/12/2020, 17:23:28 (node:641) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
08/12/2020, 17:23:28 (node:641) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
08/12/2020, 17:23:43 [eWeLink] [Device384dd3] could not be refreshed as Cannot read property 'externalUpdate' of undefined.
08/12/2020, 18:37:53 + homebridge-ewelink@3.17.2
updated 1 package in 8.703s