Clean up duplicate section in Cast documentation (#10497)

It looks like this was introduced accidentally by some kind of merge glitch: 48f38a5683d2d0d4310dadf887e88a7825b99bb5 added the section, followed by 0c2c8f86524abcf35968d78aad2d44421204793d on the same branch.
This commit is contained in:
Benjamin Staffin 2019-10-12 09:25:48 -04:00 committed by Franck Nijhof
parent 6b0904ec4f
commit 4e1f6df634

View File

@ -13,7 +13,7 @@ You can enable the Cast integration by going to the Integrations page inside the
## 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. The service takes the path of a Lovelace view and an entity ID of a Cast device to show the view on.
Home Assistant has its own Cast application to show the Home Assistant UI on any Chromecast device. You can use it by adding the [Cast entity row](/lovelace/entities/#cast) to your Lovelace UI, or by calling the `cast.show_lovelace_view` service. The service takes the path of a Lovelace view and an entity ID of a Cast device to show the view on.
```json
{
@ -22,19 +22,6 @@ Home Assistant has its own Cast application to show the Home Assistant UI. You c
}
```
## Home Assistant Cast
The Cast integration allows you to start Home Assistant Cast on any Chromecast device, using the `cast.show_lovelace_view` 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](/integrations/http/).
## Advanced use