Clean up MjpegCamera by removing unnused hass object in __init__ (#16628)
This commit is contained in:
parent
00918af94d
commit
19514ea500
3 changed files with 6 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue