def dialog_mode(self):
        """bool: Get the Sonos speaker's dialog mode.

        True if on, False if off, None if not supported.
        """
        if not self.is_soundbar:
            return None

        response = self.renderingControl.GetEQ([
            ('InstanceID', 0),
            ('EQType', 'DialogLevel')
        ])
        return bool(int(response['CurrentValue']))
def dialog_mode ( self ) : if not self . is_soundbar : return None response = self . renderingControl . GetEQ ( [ ( 'InstanceID' , 0 ) , ( 'EQType' , 'DialogLevel' ) ] ) return bool ( int ( response [ 'CurrentValue' ] ) )
bool: Get the Sonos speaker's dialog mode.

        True if on, False if off, None if not supported.