Cast as component

hi.
i am getting issues trying to migrate from the cast as platform to cast as component

my configuration before was

  - platform: denonavr
    host: 192.168.0.74
    name: Denon AVR
 # - platform: cast
 #   name: Kitchen Home
 #   host: 192.168.0.56
 # - platform: cast
 #   name: Niclas
 #   host: 192.168.0.61

without the comments of course

now it looks like

  media_player:
  - host: 192.168.0.74
  - host: 192.168.0.61

and of course i have gone through the integrations tab and it is enabled… and still i am geting the following in the log…
2018-07-10 21:57:33 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/media_player/cast.py”, line 257, in _async_setup_platform
raise PlatformNotReady
homeassistant.exceptions.PlatformNotReady
2018-07-10 21:57:33 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/media_player/cast.py”, line 257, in _async_setup_platform
raise PlatformNotReady
homeassistant.exceptions.PlatformNotReady

and no devices show up
i can still use the legacy set up… but this tells me that its deprecated…

any ideas?

What version of HA are you on?

I believe there is an issue that was discovered in 72 or 73 related to this

i am on 0.72.1

Hello!

Ins’t IP final 74 the denonavr component? Have you tried like this?

  media_player:
  - host: 192.168.0.56
  - host: 192.168.0.61

Also want to migrate, still on old media_player settings, getting this on log:

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

Thanks.