home-assistant.github.io/source/_components/media_player.cast.markdown
2015-12-12 23:19:46 +00:00

29 lines
864 B
Markdown

---
layout: component
title: "Google Cast"
description: "Instructions how to integrate Google Cast into Home Assistant."
date: 2015-03-23 19:59
sidebar: true
comments: false
sharing: true
footer: true
logo: google_cast.png
ha_category: Media Player
featured: true
---
Google Cast devices like Android TVs and Chromecasts will be automatically discovered if you enable [the discovery component]({{site_root}}/components/discovery/). There is a issue where Chromecasts can only be discovered if your device is connected to the same subnet as your Chromecast.
Chromecast platform can also be forced to load by adding the following lines to your `configuration.yaml`:
```yaml
# Example configuration.yaml entry
media_player:
platform: cast
host: 192.168.1.9
```
Configuration variables:
- **host** *Optional*: Use only if you don't want to scan for devices.