diff --git a/homeassistant/components/media_player/liveboxplaytv.py b/homeassistant/components/media_player/liveboxplaytv.py index 43678d90829..594e9b20432 100644 --- a/homeassistant/components/media_player/liveboxplaytv.py +++ b/homeassistant/components/media_player/liveboxplaytv.py @@ -18,10 +18,10 @@ from homeassistant.components.media_player import ( MEDIA_TYPE_CHANNEL, MediaPlayerDevice, PLATFORM_SCHEMA) from homeassistant.const import ( CONF_HOST, CONF_PORT, STATE_ON, STATE_OFF, STATE_PLAYING, - STATE_PAUSED, STATE_UNKNOWN, CONF_NAME) + STATE_PAUSED, CONF_NAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['liveboxplaytv==1.4.9'] +REQUIREMENTS = ['liveboxplaytv==1.5.0'] _LOGGER = logging.getLogger(__name__) @@ -72,7 +72,7 @@ class LiveboxPlayTvDevice(MediaPlayerDevice): self._muted = False self._name = name self._current_source = None - self._state = STATE_UNKNOWN + self._state = None self._channel_list = {} self._current_channel = None self._current_program = None @@ -92,7 +92,7 @@ class LiveboxPlayTvDevice(MediaPlayerDevice): self._client.get_current_channel_image(img_size=300) self.refresh_channel_list() except requests.ConnectionError: - self._state = STATE_OFF + self._state = None @property def name(self): diff --git a/requirements_all.txt b/requirements_all.txt index 4838cb12ded..6bbc87aed06 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -398,7 +398,7 @@ lightify==1.0.6 limitlessled==1.0.8 # homeassistant.components.media_player.liveboxplaytv -liveboxplaytv==1.4.9 +liveboxplaytv==1.5.0 # homeassistant.components.lametric # homeassistant.components.notify.lametric