rcasula / kostalpiko-homeassistant

19 stars 14 forks source link

Config flow fails (default values) #6

Closed pergolafabio closed 2 years ago

pergolafabio commented 2 years ago

Hey @rcasula , i was moving to your custom component, but config flow fails with the default values, i think its because of the underscore not matching? I'm also unable to remove the ones with no underscore in it

DEFAULT_MONITORED_CONDITIONS = [
    "current power",
    "total energy",
    "daily energy",
    "status",
]

i changed to below, now it works

DEFAULT_MONITORED_CONDITIONS = [
    "current_power",
    "total_energy",
    "daily_energy",
    "status",
]

PR: https://github.com/rcasula/kostalpiko-homeassistant/pull/5

image