Core: Media player selects first source when entering it's details

Created on 4 Sep 2017  路  9Comments  路  Source: home-assistant/core

Home Assistant release (hass --version):
0.52.0.dev0

Python release (python3 --version):
As in development Docker

Component/platform:
media_player.sony_bravia_tv

Description of problem:
After entering details of media player it's source is set to first entry on list, source in TV is switched to it.

Expected:
After entering details of media player it's source is set to currently set source, source in TV is not switched.

Problem-relevant configuration.yaml entries and steps to reproduce:

#standard component configuration as described in documentation

Additional info:
I'll try to debug it and maybe I'll be able to fix it.

All 9 comments

Hi,
I have seen the same : getting first source if source == unknown (analog tv or application).
If source = dvbc channel or hdmi, then it works ok (how to annoy your children while watching Netflix).

Hi,
I made some further tests : when you refresh HA frontend and open the detailed card for the first time, it makes a service call
json {"type":"call_service","domain":"media_player","service":"select_source","service_data":{"source":"La Une HD","entity_id":"media_player.tele"},"id":11}
but not when opening the card afterwards.

Having the same issue with a denon AVR

BTW, I also have denon AVR and bravia - maybe issue is related to having multiple media players? I also have noticed bravia's sources appearing as denon sources, so there seem to be some issue with mixing media players.

I have denon and a chromecast in Home Assistant

I've installed recently media_player.mpd and same here. As soon as I open it's detailed card, it starts immediately to play the first source (in this case a Spotify playlist). So it's not only a BraviaTV problem but more a the media_player card.

I have the same problem with Sonos, when I open the media_player card it stops my current music and plays the first playlist.
This is very annoying.

This should be fixed now: home-assistant/home-assistant-polymer#433

As this should be fixed, I close the issue. Leave a comment if you still see the issue with the most recent release.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

balloob picture balloob  路  371Comments

aguilaair picture aguilaair  路  162Comments

kdschlosser picture kdschlosser  路  374Comments

Gio76 picture Gio76  路  223Comments

Ciqsky picture Ciqsky  路  129Comments