iobroker-community-adapters / ioBroker.tankerkoenig

Spritpreis Adapter für ioBroker
http://www.iobroker.net
MIT License
31 stars 13 forks source link

type error #103

Closed arteck closed 1 year ago

arteck commented 1 year ago

[ Adapter V:3.3.0 writeState ] error: TypeError: Cannot read properties of undefined (reading 'toString') stack: TypeError: Cannot read properties of undefined (reading 'toString') at Tankerkoenig.writeState (/opt/iobroker/node_modules/iobroker.tankerkoenig/src/main.ts:582:34) at Tankerkoenig.requestData (/opt/iobroker/node_modules/iobroker.tankerkoenig/src/main.ts:156:6) at Timeout.<anonymous> (/opt/iobroker/node_modules/iobroker.tankerkoenig/src/main.ts:189:5)

xXBJXx commented 1 year ago

fix is made v.3.3.1 After the update, you have to go to the UI again and then click on image and copy the ID once again, so that the data is taken over correctly, by clicking on add and save.

xXBJXx commented 1 year ago

Please delete tankerkoenig.0.stations.x.postCode and tankerkoenig.0.stations.cheapest.x.postCode and restart adapter, type has changed from string to number.