Skip to content

Quotes around numbers and Booleans when using the UI to edit components #3641

@Grey-Sheep

Description

@Grey-Sheep

If I use the Components section of the interface to edit the "load_ml" features the switches are not consistent in apps.yaml. the first section appears as:-

# Enable ML load prediction
load_ml_enable: false
# Use the output data in Predbat (can be False to explore the use without using the data)
load_ml_source: "False"

The same format happens when set the "true" as well with them both being capitalised as well.

Also, the number of days to use has quotes around the numbers as shown below

load_ml_max_days_history: "28"
load_ml_database_days: "90"

I'm not sure if this is affecting anything, but my load predictions are out by a factor of two if I enable load_ml through the interface.

I'm currently leaving it disabled for stability and accuracy.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions