'Init the nx584 alarm panel.'

def __init__(self, hass, url, name):

    from nx584 import client
    self._hass = hass
    self._name = name
    self._url = url
    self._alarm = client.Client(self._url)
    self._alarm.list_zones()
    self._state = STATE_UNKNOWN
