'Send volume_down command to media player.'

def volume_down(self):

    websocket = self.get_ws()
    if (websocket is None):
        return
    websocket.send('{"namespace":    "volume",    "method":    "decreaseVolume"}')
    self.schedule_update_ha_state()
