'Initialize the configuration.'

def __init__(self, config):

    from knxip.core import parse_group_address
    self.config = config
    self.should_poll = config.get('poll', True)
    if config.get('address'):
        self._address = parse_group_address(config.get('address'))
    else:
        self._address = None
    if self.config.get('state_address'):
        self._state_address = parse_group_address(self.config.get('state_address'))
    else:
        self._state_address = None
