Google Cast devices like Android TVs and Chromecasts will be automatically discovered if you enable the discovery component. There is an 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
# Example configuration.yaml entry media_player: - platform: cast
- host (Optional): Use only if you don’t want to scan for devices.
- ignore_cec (Optional) A list of Chromecasts that should ignore CEC data for determining the active input. See the upstream documentation for more information.
host: you can specify the Chromecast to use.
# Example configuration.yaml entry media_player: - platform: cast host: 192.168.1.10