custom_components/webrtc/__init__.py, custom_components/webrtc/utils.py
This commit is contained in:
@@ -134,7 +134,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
|
||||
if not binary:
|
||||
return False
|
||||
|
||||
hass.data[DOMAIN] = server = Server(binary)
|
||||
hass.data[DOMAIN] = server = Server(binary, hass.config.config_dir)
|
||||
server.start()
|
||||
|
||||
hass.bus.async_listen_once(EVENT_HOMEASSISTANT_STOP, server.stop)
|
||||
|
||||
Reference in New Issue
Block a user