iobroker-community-adapters / ioBroker.pvforecast

Forecast for your photovoltaic plant in ioBroker
Other
23 stars 13 forks source link

Add damping factor #131

Closed coltc50 closed 6 months ago

coltc50 commented 6 months ago

Add damping factor to pv tab. Quick and dirty...

coltc50 commented 6 months ago

Sorry, was too late yesterday... now I correct all typos and it should work.

I would like to show the damping factor only when choose solar cast, but "hidden": "data.service !== 'forecastsolar'", dosen't work at this time...

EDIT: The log throw a warning... don't know what's wrong or what I missing? pvforecast has an invalid jsonConfig: [{"instancePath":"","schemaPath":"#/additionalProperties","keyword":"additionalProperties","params":{"additionalProperty":"iconPosition"},"message":"must NOT have additional properties"}]

klein0r commented 6 months ago

but "hidden": "data.service !== 'forecastsolar'", dosen't work at this time...

In tables you have to use globalData - data references other fields in the same row.

don't know what's wrong or what I missing?

Nothing. That's an issue with the schema validation.