(self, volume)
Set volume at the RAMP-target.
Set volume at the RAMP-target.
Set volume at the RAMP - target .
def set_volume(self, volume):
        """ Set volume at the RAMP-target. """
        # volume is double between 0 and 1
        self._send_ramp({RAMP_ATTR_TYPE: RAMP_TYPE_VOLUME,
                         RAMP_ATTR_VOLUME: volume})
def set_volume ( self , volume ) : # volume is double between 0 and 1 self . _send_ramp ( { RAMP_ATTR_TYPE : RAMP_TYPE_VOLUME , RAMP_ATTR_VOLUME : volume } )