J-Lindvig / Fuelprices_DK

Scraping of 5 types of fuel :fuelpump: from 8 different fuelcompanies in Denmark :denmark:.
GNU General Public License v3.0
20 stars 11 forks source link

filter out values #2

Closed rhgiter closed 2 years ago

rhgiter commented 2 years ago

how do I filter out values ? I get all values i HA

my code :

fuelprices_dk:

Optional entries

companies:

possible values are: circlek, f24, goon, ingo, oil, ok, q8 and shell

- ingo
- shell

fueltypes:

Possible values are: oktan 95, oktan 95+, oktan 100, diesel, diesel+

- oktan 95
- oktan 95+
J-Lindvig commented 2 years ago

I am not able to reproduce the issue on my setup. image

Could you provide a screenshot of what you experience? Below is my very sparse test config.

fuelprices_dk:
  companies:
    - ok
  fueltypes:
    - diesel

/Jacob

J-Lindvig commented 2 years ago

...wait saw a glitch.... Will investigate further.....

J-Lindvig commented 2 years ago

Thank you for reporting the issue.

There was a mismatch in the const.py which contains the keywords used in the config.

It have now been fixed.

/Jacob