Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to integration - L4-WiFi (v.1.1.10) #32

Closed
Drakenzo opened this issue Oct 5, 2022 · 2 comments
Closed

Cannot connect to integration - L4-WiFi (v.1.1.10) #32

Drakenzo opened this issue Oct 5, 2022 · 2 comments

Comments

@Drakenzo
Copy link

Drakenzo commented Oct 5, 2022

Hello,

while trying to add integration I'm facing below error:
image

Credential are good - when I'm giving wrong pass it says "Incorrect Password"
Please find below part of a logfile:

Traceback (most recent call last):
File "/config/custom_components/tech/config_flow.py", line 53, in async_step_user
info = await validate_input(self.hass, user_input)
File "/config/custom_components/tech/config_flow.py", line 26, in validate_input
if not await api.authenticate(data["username"], data["password"]):
File "/config/custom_components/tech/tech.py", line 65, in authenticate
result = await self.post(path, post_data)
File "/config/custom_components/tech/tech.py", line 56, in post
raise TechError(response.status, await response.text())
custom_components.tech.tech.TechError: (400, '{"error":"Bad Request"}')

Have anyone faced the same issue and have a solution?

@Drakenzo
Copy link
Author

Solution to my problem: MichalKrasowski@4c2c3ec

@mariusz-ostoja-swierczynski
Copy link
Owner

This is now merged to master and dev branches. @Drakenzo please test it.

Furthermore dev branch contains now few new fat features:
#7
#15
#24

Please have a look. Cheers, Mariusz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants