diff --git a/custom_components/dash_cast/__init__.py b/custom_components/dash_cast/__init__.py index 87a0485..5965ae7 100644 --- a/custom_components/dash_cast/__init__.py +++ b/custom_components/dash_cast/__init__.py @@ -22,7 +22,7 @@ async def play_media(call: ServiceCall): if not dash: dashs[entity.entity_id] = dash = DashCastController() entity._chromecast.register_handler(dash) - dash.load_url(url, force) + dash.load_url(url, force=force) hass.services.async_register(DOMAIN, 'load_url', play_media)