Skip to content

Home Assistant Cast#26566

Merged
balloob merged 2 commits into
devfrom
hass-cast
Sep 11, 2019
Merged

Home Assistant Cast#26566
balloob merged 2 commits into
devfrom
hass-cast

Conversation

@balloob
Copy link
Copy Markdown
Member

@balloob balloob commented Sep 11, 2019

Description:

Add a new service cast.show_lovelace_view to allow showing Lovelace views on Chromecasts on the network.

Requires a new build of Home Assistant Cast to be published.

Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#10339

Example entry for configuration.yaml (if applicable):

Service data:

{
  "entity_id": "media_player.office_display_4",
  "view_path":"lights"
}

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist

If the code does not interact with devices:

  • Tests have been added to verify that the new code works.

"""Handle a Show View service call."""
controller = HomeAssistantController(
# If you are developing Home Assistant Cast, uncomment and set to your dev app id.
# app_id="5FE44367",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a random app_id?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@balloob balloob merged commit adaa200 into dev Sep 11, 2019
@delete-merged-branch delete-merged-branch Bot deleted the hass-cast branch September 11, 2019 18:34
@lock lock Bot locked and limited conversation to collaborators Sep 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants