iobroker-community-adapters / ioBroker.tankerkoenig

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

[Bug]: Wrong type “postCode” #108

Closed eric2905 closed 1 year ago

eric2905 commented 1 year ago

Is there an existing issue for this?

Current Behavior

Adapter version 3.3.1

Log:

tankerkoenig.0 | 2023-01-01 07:43:25.973 | info | State value to set for "tankerkoenig.0.stations.5.postCode" has to be type "string" but received type "number"

tankerkoenig.0 | 2023-01-01 07:43:25.870 | info | State value to set for "tankerkoenig.0.stations.4.postCode" has to be type "string" but received type "number"

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Adapter version

3.3.1

Environment

No response

What browsers are you seeing the problem on?

No response

Screenshots & Log

No response

xXBJXx commented 1 year ago

Fixed in Version 3.3.2

once in the UI and then in the stations on edit the ID reinkopieren, so that the Config is newly created, because new fields have been added, which are not in the existing config this gives again error image image

Grothesk242 commented 1 year ago

€dit: I deleted the whole adapter and did setup from anew. Now it works.

Obsolete: Bug is still existing in V3.3.5. I deleted all objects and also did create new stations.

2023-01-13 20:24:54.698  - warn: tankerkoenig.0 (410804) Post code type is number in config from station Star must be have type string. Please check your configuration or reconfigure the stations => edit station => save
2023-01-13 20:24:54.699  - warn: tankerkoenig.0 (410804) Post code type is number in config from station Shell must be have type string. Please check your configuration or reconfigure the stations => edit station => save
xXBJXx commented 1 year ago

@Grothesk242 You don't have to delete the objects, but you have to adjust your configuration of the station, see => migration_3.3.5.

Grothesk242 commented 1 year ago

Didn't work like this. I deleted everything and now it works.