davidusb-geek / emhass-add-on

The Home Assistant Add-on for EMHASS: Energy Management Optimization for Home Assistant
MIT License
96 stars 29 forks source link

Using comma separated values in the configuration do not work #30

Closed overas closed 2 years ago

overas commented 2 years ago

I am using emhass version 0.2.22 addon.

In the configuration I have this config: image

Under the form the help text says: This is a list of comma separated values with a number of elements consistent with the number of deferrable loads defined before. For example 3000, 750 and A list of comma separated values. For example 5, 8

I try to change the config to use comma separated values: image

I then get this error when trying to save: image

davidusb-geek commented 2 years ago

Oh yes this is misleading, thank you for reporting this. That information is actually accurate just when using the core emhass python module, not for the add-on. I'll fix this information. In the add-on you just have to provide a list as shown on the top of your post, and not comma separated values

davidusb-geek commented 2 years ago

Done! 👍