You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When filling in seita.energy as a host, I got an uninformative error in the UI. The HA logs showed more, though:
Traceback (most recent call last):
File "/config/custom_components/flexmeasures_hacs/config_flow.py", line 98, in async_step_user
info = await validate_input(self.hass, user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/flexmeasures_hacs/config_flow.py", line 54, in validate_input
host, ssl = get_host_and_ssl_from_url(data["url"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/flexmeasures_hacs/config_flow.py", line 239, in get_host_and_ssl_from_url
return host, ssl
^^^^
UnboundLocalError: cannot access local variable 'host' where it is not associated with a value
The text was updated successfully, but these errors were encountered:
When filling in
seita.energy
as a host, I got an uninformative error in the UI. The HA logs showed more, though:The text was updated successfully, but these errors were encountered: