add to .coveragerc

This commit is contained in:
Per Sandstrom 2015-08-05 22:25:03 +02:00
parent 03f93063f8
commit 393e88e732
2 changed files with 3 additions and 1 deletions

View File

@ -35,6 +35,7 @@ omit =
homeassistant/components/light/hue.py
homeassistant/components/media_player/cast.py
homeassistant/components/media_player/mpd.py
homeassistant/components/media_player/squeezebox.py
homeassistant/components/notify/file.py
homeassistant/components/notify/instapush.py
homeassistant/components/notify/nma.py

View File

@ -204,7 +204,8 @@ class SqueezeBoxDevice(MediaPlayerDevice):
@property
def is_volume_muted(self):
if 'mixer volume' in self._status:
return int(self._status['mixer volume']) < 0
_LOGGER.info(self._status['mixer volume'])
return self._status['mixer volume'].startswith('-')
@property
def media_content_id(self):