Skip to content

Commit

Permalink
Merge pull request #665 from Cheerpipe/compatibility_fixes
Browse files Browse the repository at this point in the history
Fix "takes 2 positional arguments but 3 were given"
  • Loading branch information
AlexxIT committed Mar 7, 2024
2 parents e6d7616 + 9c716b2 commit 309b6d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/webrtc/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def dash_cast(hass: HomeAssistant, cast_entities: list, url: str, force=False):
entity._chromecast.register_handler(entity.dashcast)

_LOGGER.debug(f"DashCast to {entity.entity_id}")
entity.dashcast.load_url(url, force)
entity.dashcast.load_url(url, force = force)

except Exception:
_LOGGER.exception(f"Can't DashCast to {cast_entities}")
Expand Down

0 comments on commit 309b6d5

Please sign in to comment.