Skip to content

Commit

Permalink
Merge pull request #16 from bleuthoot-sven/master
Browse files Browse the repository at this point in the history
Fixed TypeError when loading url
  • Loading branch information
AlexxIT authored Mar 8, 2024
2 parents a8a1694 + 4c24031 commit eb6ef68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/dash_cast/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit eb6ef68

Please sign in to comment.