mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Removing quotes (#14313)
For some reason the script slug in the example had quotes around it. Understandably this is causing confusion, so I've removed them.
This commit is contained in:
parent
4342b57b13
commit
34d40549bd
@ -23,7 +23,7 @@ Support for mDNS discovery in your local network is mandatory. Make sure that yo
|
|||||||
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. A `path` has to be defined in your Lovelace YAML for each view, as outlined in the [views documentation](/lovelace/views/#path). The `dashboard_path` is the part of the Lovelace UI URL that follows the defined `base_url` Typically "lovelace". The following is a full configuration for a script that starts casting the `downstairs` tab of the `lovelace-cast` path (note that `entity_id` is specified under `data` and not for the service call):
|
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. A `path` has to be defined in your Lovelace YAML for each view, as outlined in the [views documentation](/lovelace/views/#path). The `dashboard_path` is the part of the Lovelace UI URL that follows the defined `base_url` Typically "lovelace". The following is a full configuration for a script that starts casting the `downstairs` tab of the `lovelace-cast` path (note that `entity_id` is specified under `data` and not for the service call):
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
'cast_downstairs_on_kitchen':
|
cast_downstairs_on_kitchen:
|
||||||
alias: Show Downstairs on kitchen
|
alias: Show Downstairs on kitchen
|
||||||
sequence:
|
sequence:
|
||||||
- data:
|
- data:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user