while trying to add integration I'm facing below error:
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?
Hello,
while trying to add integration I'm facing below error:
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?