add to .coveragerc
This commit is contained in:
parent
03f93063f8
commit
393e88e732
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue