Add Home Assistant Cast service docs (#10339)

* Add Home Assistant Cast service docs

* Add link in hass cast announcement

* Update source/_components/cast.markdown

* 🚑 Fixes indents
This commit is contained in:
Paulus Schoutsen 2019-09-18 13:13:26 -07:00
parent 32bd563996
commit 0c2c8f8652
2 changed files with 11 additions and 4 deletions

View File

@ -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/).

View File

@ -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)).