@classmethod
def factory(cls, response):
    """
        Factory event from response.

        :returns: SpeakerVolumeChangedEvent instance or None if response is unsupported
        """
    if response.name != 'VolumeLevel':
        return None
    return cls(int(response.data['volume']))
