Traceback (most recent call last):


 "AttributeError_demo.py", line 13, in <module>

outh_file = '/home/qa/.aws/client_secret.json')


 "AttributeError_demo.py", line 6, in create_spreadsheet

client.list_ssheets(parent_id=None)
AttributeError: 'Client' object has no attribute 'list_ssheets'

Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 254, in async_update_ha_state

self._async_write_ha_state()


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 278, in _async_write_ha_state

state = self.state


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 528, in state

return STATE_ON if self.is_on else STATE_OFF


 "/usr/src/homeassistant/homeassistant/components/unifi/switch.py", line 209, in is_on

return self.port.poe_mode != "off"


 "/usr/src/homeassistant/homeassistant/components/unifi/switch.py", line 256, in port

return self.device.ports[self.client.sw_port]
AttributeError: 'NoneType' object has no attribute 'ports'
