Franck Nijhof c464056402
Making our website faster, cleaner and prettier (#9853)
* 🔥 Removes octopress.js

* 🔥 Removes use of root_url var

* 🔥 Removes Octopress generator reference from feed

* 🔥 Removes delicious support

* 🔥 Removes support for Pinboard

* 🔥 Removes support for Disqus

* 🔥 Removes support for Google Plus

* ↩️ Migrate custom after_footer to default template

* ↩️ Migrate custom footer to default template

* ↩️ Migrate custom header to default template

* 🔥 Removes unused template files

* 🚀 Places time to read directly in post template

* 🚀 Removes unneeded capture from archive_post.html template

* 🔥 🚀 Removes unused, but heaving sorting call in component page

* 🚀 Merged javascripts into a single file

* 🔥 Removes more uses of root_url

* 🚀 Removal of unneeded captures from head

* 🔥 🚀 Removal of expensive liquid HTML compressor

* 🔥 Removes unneeded templates

* 🚀 Replaces kramdown with GitHub's CommonMark 🚀

* 💄 Adds Prism code syntax highlighting

*  Adds support for redirect in Netlify

* ↩️ 🔥 Let Netlify handle all developer doc redirects

* ✏️ Fixes typo in redirects file: Netify -> Netlify

* 🔥 Removes unused .themes folder

* 🔥 Removes unused aside.html template

* 🔥 Removes Disqus config leftover

* 🔥 Removes rouge highlighter config

* 🔥 Removes Octopress 🎉

* 💄 Adjust code block font size and adds soft wraps

* 💄 Adds styling for inline code blocks

* 💄 Improve styling of note/warning/info boxes + div support

* 🔨 Rewrites all note/warning/info boxes
2019-07-15 22:17:54 +02:00

1.9 KiB

title, description, logo, ha_category, featured, ha_release, ha_iot_class, redirect_from
title description logo ha_category featured ha_release ha_iot_class redirect_from
Google Cast Instructions on how to integrate Google Cast into Home Assistant. google_cast.png
Media Player
true pre 0.7 Local Polling /components/media_player.cast/

Google Cast devices like Android TVs and Chromecasts will be automatically discovered if you enable [the discovery integration(/components/discovery/). If you don't have the discovery integration enabled, you can enable the Cast integration by going to the Integrations page inside the config panel.

Advanced use

The Cast integration has some extra configuration options available for advanced users. You will still need to create a config entry to initialize the Cast integration.

For example, Cast devices can only be discovered if they are on the same subnet as Home Assistant. If this is not the case, you want to configure the IP address of the Cast device directly:

# Example configuration.yaml entry
cast:
  media_player:
    - host: 192.168.1.10
You may need to enable Multicast DNS (MDNS) on your router if you are on a different subnet or VLAN.

{% configuration %} media_player: description: A list that contains all Cast devices. required: true type: list keys: host: description: Use only if you don't want to scan for devices. required: false type: string ignore_cec: description: > A list of Chromecasts that should ignore CEC data for determining the active input. See the upstream documentation for more information. required: false type: list {% endconfiguration %}

If you want to manually configure multiple Cast media players, you can define those as follows:

# Example configuration.yaml entry for multiple devices
cast:
  media_player:
    - host: IP_ADDRESS_DEVICE_1
    - host: IP_ADDRESS_DEVICE_2