hass-core/homeassistant/components/media_player
Sean Dague 16dafaa5af Introduce zone_id to identify player+zone (#12382)
The yamaha component previously used a property named unique_id to
ensure that exactly 1 media_player was discovered per zone per
control_url. This was introduced so that hard coded devices wouldn't
be duplicated by automatically discovered devices.

In HA 0.63 unique_id became a reserved concept as part of the new
device registry, and the property was removed from the component. But
the default returns None, which had the side effect of only ever
registering a single unit + zone, the first one discovered. This was
typically the Main_Zone of the unit, but there is actually no
guaruntee of that.

This fix brings back the logic under a different property called
zone_id. This is not guarunteed to be globally stable like unique_id
is supposed to be, but it is suitable for the deduplication for yamaha
media players.
2018-02-13 23:24:03 +01:00
..
__init__.py Panasonic viera new services (#11963) 2018-02-03 11:51:34 -05:00
anthemav.py Spelling fixes (#11940) 2018-01-27 11:58:27 -08:00
apple_tv.py Bump pyatv to 0.3.5 (#9586) 2017-09-26 21:01:17 +02:00
aquostv.py Upgrade pylint to 1.8.2 (#12274) 2018-02-11 09:20:28 -08:00
bluesound.py Upgrade pylint to 1.8.2 (#12274) 2018-02-11 09:20:28 -08:00
braviatv.py Refactored to new global json saving and loading (#10677) 2017-11-19 19:47:55 -08:00
cast.py Spelling fixes (#12041) 2018-01-29 23:37:19 +01:00
clementine.py Flake8 35 (#11972) 2018-01-29 00:23:53 -08:00
cmus.py Spelling fixes (#11940) 2018-01-27 11:58:27 -08:00
demo.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
denon.py Spelling fixes (#11940) 2018-01-27 11:58:27 -08:00
denonavr.py Don't repeat getting receiver name on each update / pushed to denonavr 0.5.5 (#10915) 2017-12-03 21:51:32 +01:00
directv.py Update directpy to 0.2 (#9948) 2017-10-18 19:04:01 +02:00
dunehd.py fixed duplicate words (#9705) 2017-10-05 21:55:09 +02:00
emby.py Entity registry (#11979) 2018-01-30 10:39:39 +01:00
firetv.py media_player.firetv - Adding support for https. (#8022) 2017-06-15 22:23:10 -07:00
frontier_silicon.py Upgrade netdisco to 1.0.0rc2 (#7008) 2017-04-11 20:10:02 -07:00
gpmdp.py Refactored to new global json saving and loading (#10677) 2017-11-19 19:47:55 -08:00
gstreamer.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
hdmi_cec.py Upgrade pylint to 1.8.2 (#12274) 2018-02-11 09:20:28 -08:00
itunes.py Fix for iTunes media player not updating artwork (#12089) 2018-02-09 14:09:34 -08:00
kodi.py Fix Kodi channels media type (#11505) 2018-01-08 16:57:50 +01:00
lg_netcast.py Do not call update() in constructor (#8878) 2017-08-08 20:21:33 +02:00
liveboxplaytv.py Add media position properties (#10076) 2017-12-13 10:58:49 +01:00
mediaroom.py [Mediaroom media_player] Follow up on PR #11864 (#12155) 2018-02-03 17:58:34 +01:00
monoprice.py Spelling fixes (#11940) 2018-01-27 11:58:27 -08:00
mpchc.py Do not call update() in constructor (#8878) 2017-08-08 20:21:33 +02:00
mpd.py Upgrade pylint to 1.8.2 (#12274) 2018-02-11 09:20:28 -08:00
nad.py Nad (#11800) 2018-01-19 21:41:12 -08:00
nadtcp.py Fixes for PEP257 (#11810) 2018-01-20 22:35:38 -08:00
onkyo.py Typing fixes (#12015) 2018-01-29 00:24:08 -08:00
openhome.py Fix a bunch of typos (#9545) 2017-09-23 17:15:46 +02:00
panasonic_viera.py Upgrade panasonic_viera to 0.3.1 (#12370) 2018-02-13 17:06:30 +01:00
pandora.py Fix pylint 1.7.2 no-else-return issues (#8361) 2017-07-05 23:30:01 -07:00
philips_js.py Add wake on lan capability to philips TV (#12065) 2018-02-07 09:35:08 -08:00
pioneer.py Supress exception if host is not available (fixes #8684) (#8732) 2017-07-31 08:58:13 -07:00
plex.py Flake8 bugbear fixes (#12072) 2018-01-30 14:44:05 -08:00
roku.py bump roku version (#11816) 2018-01-19 21:56:56 -08:00
russound_rio.py Fix russound_rio for python 3.4 (#9428) 2017-09-15 11:40:40 +02:00
russound_rnet.py Update the Russound RNET component to use enhanced Russound.py (#9739) 2017-10-21 14:56:37 -04:00
samsungtv.py Upgrade wakeonlan to 1.0.0 (#12190) 2018-02-05 16:04:31 -08:00
services.yaml Add enable_output service to Yamaha platform (#11103) 2018-01-17 19:34:21 +01:00
snapcast.py Fixes for PEP257 (#11810) 2018-01-20 22:35:38 -08:00
sonos.py Fixes for PEP257 (#11810) 2018-01-20 22:35:38 -08:00
soundtouch.py Upgrade pylint to 1.8.2 (#12274) 2018-02-11 09:20:28 -08:00
spotify.py Handle spotify failing to refresh access_token (#9295) 2017-09-04 20:47:40 +02:00
squeezebox.py Squeezebox Fix duplicate server from discovery (#12063) 2018-01-31 15:32:08 +01:00
ue_smart_radio.py Add support for Logitech UE Smart Radios. (#10077) 2017-12-09 20:01:23 +01:00
universal.py Fixed universal media player templated source_select bug (issue #10981) and corrected typo in test_universal (#11746) 2018-01-17 21:19:34 -08:00
vizio.py Fixes for PEP257 (#11810) 2018-01-20 22:35:38 -08:00
vlc.py added media_stop (#12100) 2018-02-01 09:49:39 +01:00
volumio.py Fix clear playlist in Volumio component (#12173) 2018-02-06 10:46:44 -08:00
webostv.py Upgrade pylint to 1.8.2 (#12274) 2018-02-11 09:20:28 -08:00
yamaha.py Introduce zone_id to identify player+zone (#12382) 2018-02-13 23:24:03 +01:00
yamaha_musiccast.py Bump pymusiccast to version 0.1.6 (#11091) 2017-12-11 22:29:52 +01:00
ziggo_mediabox_xl.py Add Ziggo Mediabox XL media_player (#10514) 2017-12-05 14:22:27 +01:00