From 0c2c8f86524abcf35968d78aad2d44421204793d Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 18 Sep 2019 13:13:26 -0700 Subject: [PATCH] Add Home Assistant Cast service docs (#10339) * Add Home Assistant Cast service docs * Add link in hass cast announcement * Update source/_components/cast.markdown * :ambulance: Fixes indents --- source/_components/cast.markdown | 13 ++++++++++--- .../_posts/2019-08-06-home-assistant-cast.markdown | 2 +- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/source/_components/cast.markdown b/source/_components/cast.markdown index 3633c8561fa..f320b480439 100644 --- a/source/_components/cast.markdown +++ b/source/_components/cast.markdown @@ -10,13 +10,20 @@ ha_iot_class: Local Polling redirect_from: /components/media_player.cast/ --- -Home Assistant integrates with Chromecast devices like Chromecasts, Google Nest hubs and Android TVs. When integrated, it will allow you to see what is currently playing and control playback. - You can enable the Cast integration by going to the Integrations page inside the config panel. ## Home Assistant Cast -Home Assistant has its own Cast application to show the Home Assistant UI. You can load it on your Chromecast by adding the [Cast entity row](/lovelace/entities/#cast) to your Lovelace UI or by using the `cast.show_lovelace_ui` service. +Home Assistant has its own Cast application to show the Home Assistant UI. You can load it on your Chromecast by adding the [Cast entity row](/lovelace/entities/#cast) to your Lovelace UI or by using the `cast.show_lovelace_ui` service. The service takes the path of a Lovelace view and an entity ID of a Cast device to show the view on. + +```json +{ + "entity_id": "media_player.office_display_4", + "view_path": "lights" +} +``` + +## Advanced use Note that Home Assistant Cast requires your Home Assistant installation to be accessible via `https://`. If you're using Home Assistant Cloud, you don't need to do anything. Otherwise you must make sure that you have configured the `base_url` for [the `http` integration](/components/http/). diff --git a/source/_posts/2019-08-06-home-assistant-cast.markdown b/source/_posts/2019-08-06-home-assistant-cast.markdown index 64c38bb15b6..e73a70353a3 100644 --- a/source/_posts/2019-08-06-home-assistant-cast.markdown +++ b/source/_posts/2019-08-06-home-assistant-cast.markdown @@ -59,5 +59,5 @@ entities: This is the first release of Home Assistant Cast, and so we focused on the minimum that was worthy of a release. We still have some more things planned: -- Allow starting Home Assistant Cast from Home Assistant itself (not a browser), as part of an automation or script. +- Allow starting Home Assistant Cast from Home Assistant itself (not a browser), as part of an automation or script. [This is live now since Home Assistant 0.99.](/components/cast/#home-assistant-cast) - Use Home Assistant Cast as a text-to-speech target (inspired by [lovelace-browser-commander by @thomasloven](https://github.com/thomasloven/lovelace-browser-commander)).