Files
home-assistant-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
..
2018-01-27 11:58:27 -08:00
2018-02-11 09:20:28 -08:00
2018-02-11 09:20:28 -08:00
2018-01-29 23:37:19 +01:00
2018-01-29 00:23:53 -08:00
2018-01-27 11:58:27 -08:00
…
2018-01-27 11:58:27 -08:00
…
2018-01-30 10:39:39 +01:00
…
…
2018-02-11 09:20:28 -08:00
2018-01-08 16:57:50 +01:00
2018-01-27 11:58:27 -08:00
…
2018-02-11 09:20:28 -08:00
2018-01-19 21:41:12 -08:00
2018-01-20 22:35:38 -08:00
2018-01-29 00:24:08 -08:00
2018-01-30 14:44:05 -08:00
2018-01-19 21:56:56 -08:00
2018-01-20 22:35:38 -08:00
2018-01-20 22:35:38 -08:00
2018-02-11 09:20:28 -08:00
2018-01-20 22:35:38 -08:00
2018-02-01 09:49:39 +01:00
2018-02-11 09:20:28 -08:00