Clean up MjpegCamera by removing unnused hass object in __init__ (#16628)

This commit is contained in:
Rohan Kapoor 2018-09-15 02:26:29 -07:00 committed by Martin Hjelmare
parent 00918af94d
commit 19514ea500
3 changed files with 6 additions and 6 deletions

View file

@ -50,7 +50,7 @@ class AxisCamera(MjpegCamera):
def __init__(self, hass, config, port):
"""Initialize Axis Communications camera component."""
super().__init__(hass, config)
super().__init__(config)
self.port = port
dispatcher_connect(
hass, DOMAIN + '_' + config[CONF_NAME] + '_new_ip', self._new_ip)