@classmethod
def from_config(cls, xknx, name, config):
    """Initialize object from configuration structure."""
    group_address = config.get('group_address')
    group_address_state = config.get('group_address_state')
    return cls(xknx, name, group_address=group_address, group_address_state
        =group_address_state)
