pub fn new(id: u64, accessory_id: u64) -> Self {
        Self {
            id,
            hap_type: HapType::SecuritySystem,
			security_system_current_state: SecuritySystemCurrentStateCharacteristic::new(id + 1 + 0, accessory_id),
			security_system_target_state: SecuritySystemTargetStateCharacteristic::new(id + 1 + 1, accessory_id),
			name: Some(NameCharacteristic::new(id + 1 + 0 + 2, accessory_id)),
			security_system_alarm_type: Some(SecuritySystemAlarmTypeCharacteristic::new(id + 1 + 1 + 2, accessory_id)),
			status_fault: Some(StatusFaultCharacteristic::new(id + 1 + 2 + 2, accessory_id)),
			status_tampered: Some(StatusTamperedCharacteristic::new(id + 1 + 3 + 2, accessory_id)),
			..Default::default()
        }
    }
/// Creates a new Security System service.
Creates a new Security System service.
Creates a new Security System service .
pub fn new(id: u64, accessory_id: u64) -> Self {
        Self {
            id,
            hap_type: HapType::SecuritySystem,
			security_system_current_state: SecuritySystemCurrentStateCharacteristic::new(id + 1 + 0, accessory_id),
			security_system_target_state: SecuritySystemTargetStateCharacteristic::new(id + 1 + 1, accessory_id),
			name: Some(NameCharacteristic::new(id + 1 + 0 + 2, accessory_id)),
			security_system_alarm_type: Some(SecuritySystemAlarmTypeCharacteristic::new(id + 1 + 1 + 2, accessory_id)),
			status_fault: Some(StatusFaultCharacteristic::new(id + 1 + 2 + 2, accessory_id)),
			status_tampered: Some(StatusTamperedCharacteristic::new(id + 1 + 3 + 2, accessory_id)),
			..Default::default()
        }
    }
pub fn new ( id : u64 , accessory_id : u64 ) -> Self { Self { id , hap_type : HapType :: SecuritySystem , security_system_current_state : SecuritySystemCurrentStateCharacteristic :: new ( id + 1 + 0 , accessory_id ) , security_system_target_state : SecuritySystemTargetStateCharacteristic :: new ( id + 1 + 1 , accessory_id ) , name : Some ( NameCharacteristic :: new ( id + 1 + 0 + 2 , accessory_id ) ) , security_system_alarm_type : Some ( SecuritySystemAlarmTypeCharacteristic :: new ( id + 1 + 1 + 2 , accessory_id ) ) , status_fault : Some ( StatusFaultCharacteristic :: new ( id + 1 + 2 + 2 , accessory_id ) ) , status_tampered : Some ( StatusTamperedCharacteristic :: new ( id + 1 + 3 + 2 , accessory_id ) ) , .. Default :: default ( ) } }
Creates a new Security System service.
Creates a new Security System service .
id
u64
accessory_id
u64
id
u64
accessory_id
u64