Hello,
I recently purchased this Brunt Blind Engine off Amazon after discovering it had a native Home Assistant component (https://amzn.to/2WcP3xd).
Setup was easy, and the blinds work perfectly within the Brunt app.
I added the lines to my configuration.yaml as described on the HA page (https://www.home-assistant.io/components/cover.brunt/), however, no entity appears.
I did some searching and found the following error;
homeassistant.components.cover] Error while setting up platform brunt
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py”, line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.6/asyncio/tasks.py”, line 358, in wait_for
return fut.result()
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/cover/brunt.py”, line 51, in setup_platform
things = bapi.getThings()[‘things’]
File “/usr/local/lib/python3.6/site-packages/brunt/brunt.py”, line 134, in getThings
login_return = self._is_logged_in()
File “/usr/local/lib/python3.6/site-packages/brunt/brunt.py”, line 125, in _is_logged_in
return self._login()
File “/usr/local/lib/python3.6/site-packages/brunt/brunt.py”, line 117, in _login
resp = self._http.request(data, RequestTypes.POST)
File “/usr/local/lib/python3.6/site-packages/brunt/brunt.py”, line 55, in request
resp.raise_for_status()
File “/usr/local/lib/python3.6/site-packages/requests/models.py”, line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://sky.brunt.co/session
I am running Hass.io (0.85.1) on a Pi Zero W, eliminating the potential Python version error I’ve seen other users experience, and I have checked and double checked that my login information for the Brunt API is correct in configuration.yaml.
As far as I can tell, the key to the issue is the final line “403 Client Error: Forbidden for url:”.
Can anyone advise as to what may be the cause and possible fix for this issue? As great as the Blind Engine is, if I can’t add it to Home Assistant, I’ll be returning it. I’ve contacted the developer of the component and as yet haven’t had any response.