iobroker-community-adapters / ioBroker.fronius

ioBroker Adapter für Fronius Wechselrichter mit Fronius Datalogger Web ab Version 2.0.4-1 oder Fronius Datamanager ab Version 3.0.3-1
MIT License
22 stars 21 forks source link

Better handling of empty objects #485

Closed mcm1957 closed 1 month ago

mcm1957 commented 1 month ago

This PR is a rework of https://github.com/iobroker-community-adapters/ioBroker.fronius/pull/456 provided by @nkleber78 Changes to main.js are kept while changes to package.lock has been removed.

from original PR: https://github.com/iobroker-community-adapters/ioBroker.fronius/issues/374 Fixed the issue by better handling empty or null objects. In this specific case, it was about an empty object