From 1c2f72a453ccfd0f77701f353a029b1c0b394290 Mon Sep 17 00:00:00 2001 From: Greg Dowling Date: Wed, 10 Feb 2021 09:27:25 +0000 Subject: [PATCH] Bump roonapi to 0.0.32 (#46286) --- homeassistant/components/roon/manifest.json | 2 +- homeassistant/components/roon/server.py | 11 ----------- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 4 files changed, 3 insertions(+), 14 deletions(-) diff --git a/homeassistant/components/roon/manifest.json b/homeassistant/components/roon/manifest.json index 0d5d0c131ae491..e4c4a25dcb540e 100644 --- a/homeassistant/components/roon/manifest.json +++ b/homeassistant/components/roon/manifest.json @@ -4,7 +4,7 @@ "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/roon", "requirements": [ - "roonapi==0.0.31" + "roonapi==0.0.32" ], "codeowners": [ "@pavoni" diff --git a/homeassistant/components/roon/server.py b/homeassistant/components/roon/server.py index d5b8d81c2aa5f4..83b620e176ea81 100644 --- a/homeassistant/components/roon/server.py +++ b/homeassistant/components/roon/server.py @@ -141,17 +141,6 @@ async def async_update_players(self): async_dispatcher_send(self.hass, "roon_media_player", player_data) self.offline_devices.add(dev_id) - async def async_update_playlists(self): - """Store lists in memory with all playlists - could be used by a custom lovelace card.""" - all_playlists = [] - roon_playlists = self.roonapi.playlists() - if roon_playlists and "items" in roon_playlists: - all_playlists += [item["title"] for item in roon_playlists["items"]] - roon_playlists = self.roonapi.internet_radio() - if roon_playlists and "items" in roon_playlists: - all_playlists += [item["title"] for item in roon_playlists["items"]] - self.all_playlists = all_playlists - async def async_create_player_data(self, zone, output): """Create player object dict by combining zone with output.""" new_dict = zone.copy() diff --git a/requirements_all.txt b/requirements_all.txt index b41919fe15ba8b..83c93c0aa4db91 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1961,7 +1961,7 @@ rokuecp==0.6.0 roombapy==1.6.2 # homeassistant.components.roon -roonapi==0.0.31 +roonapi==0.0.32 # homeassistant.components.rova rova==0.1.0 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 5a7331154b7ec8..dbc0e12fcb8ebf 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -983,7 +983,7 @@ rokuecp==0.6.0 roombapy==1.6.2 # homeassistant.components.roon -roonapi==0.0.31 +roonapi==0.0.32 # homeassistant.components.rpi_power rpi-bad-power==0.1.0