Cannot get the cast component running

Hi,

after a recent upgrade from a quite old HA version to 0.7.2 i have problems with getting the Cast component running. I have enabled Cast in the Settings/Integrations section, and added this to my config.yaml:

# Chromecast
cast: !include cast.yaml

Of course, this is the content of cast.yaml:

media_player:
- host: 192.168.10.9

The stick is pingable and such, but the cast component isn’t showing up anywhere, not even in the logs, no error, no success, and needless to say the cast isn’t showing in the web frontend as well.

So, where lays my error? What do i have to do to get my Chromecast integration running again?

(I’m running home assistant via HassIO on a raspi 3, if that’s important…)

I had this issue as well. I used to have 4 Google home/minis in my media player cast section by IP. With the breaking change I moved the config and they still wouldn’t show up. I enabled discovery and they showed up, I did the integration piece in the config and all was well but I didn’t want my chromecasts showing up or the home group of speakers. So I turned discovery off and put the 4 IPs in under the cast section like the docs show. The speakers stopped showing up. I did notice an error about the cast component and was going to open an issue on GitHub but I had to get some shut eye first. I will link it here when I get a chance to do it today.

Looks like someone already got to it.

https://github.com/home-assistant/home-assistant/issues/15097

Remove the include, so it just looks like this:

cast:

Restart homeassistant.

Go to ‘configuration’ (in the left panel), tap ‘integrations’, and next to Google Cast click ‘configure’.

Working fine here.

When I go to configuration I always get the error

Aborted
No Google Cast Devices found on the network

I have 4 so it should be finding something.

Works perfectly doing this.

Same problem here:

Aborted
No Google Cast Devices found on the network

Home Assistant
0.72.1

I got it going by including the static IP address of my Google devices in config.yml then integrating Cast:-

cast:
media_player:

  • host: 10.0.0.x
  • host: 10.0.0.x
  • host: 10.0.0.x
  • host: 10.0.0.x
    P.S. “.” should be - but I could not format it correctly

I have a question please, under 0.70.0 had a broadcast entry " media_player.broadcast ", this is not setup automatically under 0.72.1. How do in display the broadcast group in the GUI? I have managed to use “group.media” in my automations that previously used “media_player.broadcast” but I am stumped on how to include it in my displayable groups and send TTS messages throughout the house.

Try 0.72.0, casting stopped working altogether for me in 0.72.1

I sort of have this working. I am using 0.72.1. This is what my media_player.yaml file looks like:

- platform: cast
  media_player:
  host: 192.168.1.26
  
- platform: cast
  media_player:
  host: 192.168.1.101
  
- platform: cast
  media_player:
  host: 192.168.1.112

The devices now show up however when I try to add the cast devices using the config it never seems to work. I just the following error:

Aborted
No Google Cast devices found on the network.
1 Like

What got this working for me is this config

cast:
  media_player:
    - host: <your_device_ip>