Traceback (most recent call last):


 "/usr/local/bin/legendary", line 11, in <module>

load_entry_point('legendary-gl==0.0.14', 'console_scripts', 'legendary')()


 "/usr/local/lib/python3.8/dist-packages/legendary_gl-0.0.14-py3.8.egg/legendary/cli.py", line 853, in main


 "/usr/lib/python3.8/argparse.py", line 1380, in add_argument

action = action_class(**kwargs)
TypeError: __init__() got an unexpected keyword argument 'type'

Traceback (most recent call last):


 "/usr/local/lib/python3.6/asyncio/tasks.py", line 180, in _step

result = coro.send(None)


 "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity

new_entity, self, update_before_add=update_before_add


 "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 238, in async_add_entity

yield from entity.async_update_ha_state()


 "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 237, in async_update_ha_state

device_attr = self.device_state_attributes


 "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/camera/arlo.py", line 104, in device_state_attributes

self._camera.get_battery_level,


 "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pyarlo/camera.py", line 132, in get_battery_level

return base.get_camera_battery_level[self.device_id]
TypeError: 'NoneType' object is not subscriptable
