'Change the opacity to give a visual signal to users.'

def _fade_to(self, duration, opacity):

    message = {'fadeTo': True, 'duration': duration, 'opacity': opacity}
    self._handle_outgoing_message(message)
