Traceback (most recent call last):


 "/usr/sbin/rtv", line 7, in <module>

from rtv.__main__ import main


 "/usr/lib/python3.7/site-packages/rtv/__main__.py", line 254, in <module>

sys.exit(main())


 "/usr/lib/python3.7/site-packages/rtv/__main__.py", line 168, in main

patch_webbrowser()


 "/usr/lib/python3.7/site-packages/rtv/objects.py", line 37, in patch_webbrowser

webbrowser.register('surf', None, webbrowser.BackgroundBrowser('surf'))


 "/usr/lib/python3.7/webbrowser.py", line 26, in register

register_standard_browsers()


 "/usr/lib/python3.7/webbrowser.py", line 567, in register_standard_browsers

cmd = _synthesize(cmdline, -1)


 "/usr/lib/python3.7/webbrowser.py", line 116, in _synthesize

register(browser, None, controller, update_tryorder)
TypeError: register() takes from 2 to 3 positional arguments but 4 were given

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
