def __init__(self, host, port, loop, monitored_zones=[],<EOL>monitored_outputs=[], partitions=[]):
self._host = host<EOL>self._port = port<EOL>self._loop = loop<EOL>self._message_handlers = {}<EOL>self._monitored_zones = monitored_zones<EOL>self.violated_zones = []<EOL>self._monitored_outputs = monitored_outputs<EOL>self.violated_outputs = []<EOL>self.partition_states = {}<EOL>self._keep_alive_timeout = <NUM_LIT:20><EOL>self._reconnection_timeout = <NUM_LIT:15><EOL>self._reader = None<EOL>self._writer = None<EOL>self.closed = False<EOL>self._alarm_status_callback = None<EOL>self._zone_changed_callback = None<EOL>self._output_changed_callback = None<EOL>self._partitions = partitions<EOL>self._command_status_event = asyncio.Event()<EOL>self._command_status = False<EOL>self._message_handlers[b'<STR_LIT:\x00>'] = self._zone_violated<EOL>self._message_handlers[b'<STR_LIT>'] = self._output_changed<EOL>self._message_handlers[b'<STR_LIT>'] = lambda msg: self._armed(<EOL>AlarmState.ARMED_MODE0, msg)<EOL>self._message_handlers[b'<STR_LIT>'] = lambda msg: self._armed(<EOL>AlarmState.ARMED_MODE1, msg)<EOL>self._message_handlers[b'<STR_LIT>'] = lambda msg: self._armed(<EOL>AlarmState.ARMED_MODE2, msg)<EOL>self._message_handlers[b'<STR_LIT>'] = lambda msg: self._armed(<EOL>AlarmState.ARMED_MODE3, msg)<EOL>self._message_handlers[b'<STR_LIT>'] = lambda msg: self._armed(<EOL>AlarmState.ARMED_SUPPRESSED, msg)<EOL>self._message_handlers[b'<STR_LIT>'] = lambda msg: self._armed(<EOL>AlarmState.ENTRY_TIME, msg)<EOL>self._message_handlers[b'<STR_LIT>'] = lambda msg: self._armed(<EOL>AlarmState.EXIT_COUNTDOWN_OVER_10, msg)<EOL>self._message_handlers[b'<STR_LIT>'] = lambda msg: self._armed(<EOL>AlarmState.EXIT_COUNTDOWN_UNDER_10, msg)<EOL>self._message_handlers[b'<STR_LIT>'] = lambda msg: self._command_result(msg)<EOL>self._message_handlers[b'<STR_LIT>'] = lambda msg: self._armed(<EOL>AlarmState.TRIGGERED, msg)<EOL>self._message_handlers[b'<STR_LIT>'] = lambda msg: self._armed(<EOL>AlarmState.TRIGGERED_FIRE, msg)<EOL>
Init the Satel alarm data.