Cast via platform

I get this error message in my logg. I have the cast in via platform mediaplayer. Should i put cast as a platform in my config?

Setting configuration for Cast via platform is deprecated. Configure via Cast component instead.

Have you configured it in Configuration > Integrations > Google Cast?

I dont have the configuration option.
Should I add anything in my configuration file?

yes you’ll need this to your configuration.yaml indeed…
config:

It can also be done manually.

If you had this before (at least I think it did look something like that):

media_player:
  cast:
  - host: 192.168.1.10

it should now be this:

cast:
  media_player:
  - host: 192.168.1.10
1 Like