#NEWLINE# def set_volume_level( self , volume ) : #NEWLINE# #INDENT# 'Set volume level, range 0..1.' #NEWLINE# receiver_vol = ( 100 - ( volume * 100 ) ) #NEWLINE# negative_receiver_vol = ( - receiver_vol ) #NEWLINE# self . _receiver . volume = negative_receiver_vol