From c445563ab17d9f6ff8812c4d67e8147beaea2e56 Mon Sep 17 00:00:00 2001 From: Hans Bakker <hansmbakker@gmail.com> Date: Sun, 31 May 2015 13:47:40 +0200 Subject: [PATCH] Fix pylint --- homeassistant/components/media_player/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/components/media_player/__init__.py b/homeassistant/components/media_player/__init__.py index 2a33bd8b318..2b555faa503 100644 --- a/homeassistant/components/media_player/__init__.py +++ b/homeassistant/components/media_player/__init__.py @@ -87,12 +87,14 @@ def volume_down(hass, entity_id=None): hass.services.call(DOMAIN, SERVICE_VOLUME_DOWN, data) + def volume_mute(hass, entity_id=None): """ Send the media player the command for volume down. """ data = {ATTR_ENTITY_ID: entity_id} if entity_id else {} hass.services.call(DOMAIN, SERVICE_VOLUME_MUTE, data) + def volume_set(hass, entity_id=None, volume=None): """ Send the media player the command for volume down. """ data = { -- GitLab