Gogogate2 integration error

It happens randomly it seems but only started after I updated to 0.107.X versions

2020-03-21 13:45:36 ERROR (MainThread) [homeassistant.helpers.entity] Update for cover.main_gate fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 476, in async_device_update
    await self.hass.async_add_executor_job(self.update)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/gogogate2/cover.py", line 107, in update
    self._status = self.mygogogate2.get_status(self.device_id)
  File "/usr/local/lib/python3.7/site-packages/pygogogate2/__init__.py", line 107, in get_status
    devices = self.get_devices()
  File "/usr/local/lib/python3.7/site-packages/pygogogate2/__init__.py", line 80, in get_devices
    self.apicode = devices.find('apicode').text
AttributeError: 'NoneType' object has no attribute 'find'

Anyone else getting the same?

1 Like


Getting the same error - did you have any luck resolving?

Haven’t seen it since, it just resolved itself after an update.
Did you try the latest version of HA?


Yes I am but still getting the error - thanks for getting back to me