Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.0.1: Datenpunkt connected_with_device_service: string statt boolean #1

Open
Acgua opened this issue Jul 18, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Acgua
Copy link
Owner

Acgua commented Jul 18, 2022

Instanzen "admin.0" und "mqtt.0" und sonoff: Fehlermeldung bei Datenpunkt connected_with_device_service

https://forum.iobroker.net/post/827939
https://forum.iobroker.net/post/828356

2022-07-15 08:32:44.280	info	State value to set for "0_userdata.0.System.Adapter-Instanzen.mqtt_0.info.connected_with_device_service" has to be type "boolean" but received type "string"
2022-07-15 08:32:44.213	warn	at AdapterInstance._initAdapterInstanceAsync (script.js.Datenpunkte.ioBroker.Adapter-Instance-Watcher:230:9)
2022-07-15 08:32:44.213	warn	at processImmediate (node:internal/timers:437:9)
2022-07-15 08:32:44.213	warn	at runNextTicks (node:internal/process/task_queues:61:5)
2022-07-15 08:32:44.213	warn	at runMicrotasks (<anonymous>)
2022-07-15 08:32:44.213	warn	at AdapterInstance.asyncUpdateStates (script.js.Datenpunkte.ioBroker.Adapter-Instance-Watcher:396:21)
2022-07-15 08:32:44.213	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
2022-07-15 08:32:44.212	warn	You are assigning a string to the state "0_userdata.0.System.Adapter-Instanzen.mqtt_0.info.connected_with_device_service" which expects a boolean. Please fix your code to use a boolean or change the state type to string. This warning might become an error in future versions.
2022-07-15 08:32:44.074	info	State value to set for "0_userdata.0.System.Adapter-Instanzen.admin_0.info.connected_with_device_service" has to be type "boolean" but received type "string"
2022-07-15 08:32:44.053	warn	at AdapterInstance._initAdapterInstanceAsync (script.js.Datenpunkte.ioBroker.Adapter-Instance-Watcher:230:9)
2022-07-15 08:32:44.053	warn	at processImmediate (node:internal/timers:437:9)
2022-07-15 08:32:44.053	warn	at runNextTicks (node:internal/process/task_queues:61:5)
2022-07-15 08:32:44.053	warn	at runMicrotasks (<anonymous>)
2022-07-15 08:32:44.053	warn	at AdapterInstance.asyncUpdateStates (script.js.Datenpunkte.ioBroker.Adapter-Instance-Watcher:396:21)
2022-07-15 08:32:44.053	warn	at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1532:20)
2022-07-15 08:32:44.052	warn	You are assigning a string to the state "0_userdata.0.System.Adapter-Instanzen.admin_0.info.connected_with_device_service" which expects a boolean. Please fix your code to use a boolean or change the state type to string. This warning might become an error in future versions.
@Acgua Acgua added the bug Something isn't working label Jul 18, 2022
@Acgua Acgua self-assigned this Jul 18, 2022
Acgua added a commit that referenced this issue Jul 18, 2022
Addressing issue #1 - #1
@Acgua
Copy link
Owner Author

Acgua commented Jul 18, 2022

Habe in Script-Version 0.0.2 Workaround eingebaut, siehe Änderungen:
08b171e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant