home-assistant.github.io/source/_components/media_player.cast.markdown
Carlo Costanzo 5da39427c5 added option example (#4326)
* added option example

it wasn't clear to me.

* Add example
2018-01-11 21:09:09 +01:00

1.3 KiB

layout title description date sidebar comments sharing footer logo ha_category featured ha_release ha_iot_class
page Google Cast Instructions how to integrate Google Cast into Home Assistant. 2015-03-23 19:59 true false true true google_cast.png Media Player true pre 0.7 Local Polling

Google Cast devices like Android TVs and Chromecasts will be automatically discovered if you enable the discovery component. There is a issue where Chromecasts can only be discovered if your device is connected to the same subnet as your Chromecast.

The Chromecast platform can also be forced to load by adding the following lines to your configuration.yaml:

# Example configuration.yaml entry
media_player:
  - platform: cast

Configuration variables:

{% linkable_title Example %}

By setting host: you can specify the Chromecast to use.

# Example configuration.yaml entry
media_player:
  - platform: cast
    host: 192.168.1.10