nad_receiver/__init__.py
def set_volume(self, volume):
        """Set volume level of the device. Accepts integer values 0-200."""
        if 0 <= volume <= 200:
            volume = format(volume, "02x")  # Convert to hex
            self._send(self.CMD_VOLUME + volume)
def set_volume(self, volume):
        if 0 <= volume <= 200:
            volume = format(volume, "02x")  # Convert to hex
            self._send(self.CMD_VOLUME + volume)
def set_volume ( self , volume ) : if 0 <= volume <= 200 : volume = format ( volume , "02x" ) # Convert to hex self . _send ( self . CMD_VOLUME + volume )
Set volume level of the device. Accepts integer values 0-200.
Set volume level of the device . Accepts integer values 0 - 200 .