From f3ccbda05435d1e0e4ae873b03077f7d47b00e09 Mon Sep 17 00:00:00 2001 From: Teemu R Date: Sun, 25 Mar 2018 08:24:03 +0200 Subject: [PATCH] Bump songpal version, fixes lots of issues mentioned in #13022 (#13440) --- homeassistant/components/media_player/songpal.py | 4 ++-- requirements_all.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/media_player/songpal.py b/homeassistant/components/media_player/songpal.py index e43f5951db7..955456f2465 100644 --- a/homeassistant/components/media_player/songpal.py +++ b/homeassistant/components/media_player/songpal.py @@ -17,7 +17,7 @@ from homeassistant.const import ( from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-songpal==0.0.6'] +REQUIREMENTS = ['python-songpal==0.0.7'] SUPPORT_SONGPAL = SUPPORT_VOLUME_SET | SUPPORT_VOLUME_STEP | \ SUPPORT_VOLUME_MUTE | SUPPORT_SELECT_SOURCE | \ @@ -101,7 +101,7 @@ class SongpalDevice(MediaPlayerDevice): import songpal self._name = name self.endpoint = endpoint - self.dev = songpal.Protocol(self.endpoint) + self.dev = songpal.Device(self.endpoint) self._sysinfo = None self._state = False diff --git a/requirements_all.txt b/requirements_all.txt index fac18e23667..af3fd68ec64 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -976,7 +976,7 @@ python-roku==3.1.5 python-sochain-api==0.0.2 # homeassistant.components.media_player.songpal -python-songpal==0.0.6 +python-songpal==0.0.7 # homeassistant.components.sensor.synologydsm python-synology==0.1.0