pub fn new(id: u64, accessory_id: u64) -> Self {
        Self {
            id,
            hap_type: HapType::Slats,
			current_slat_state: CurrentSlatStateCharacteristic::new(id + 1 + 0, accessory_id),
			slat_type: SlatTypeCharacteristic::new(id + 1 + 1, accessory_id),
			name: Some(NameCharacteristic::new(id + 1 + 0 + 2, accessory_id)),
			swing_mode: Some(SwingModeCharacteristic::new(id + 1 + 1 + 2, accessory_id)),
			current_tilt_angle: Some(CurrentTiltAngleCharacteristic::new(id + 1 + 2 + 2, accessory_id)),
			target_tilt_angle: Some(TargetTiltAngleCharacteristic::new(id + 1 + 3 + 2, accessory_id)),
			..Default::default()
        }
    }
/// Creates a new Slats service.
Creates a new Slats service.
Creates a new Slats service .
pub fn new(id: u64, accessory_id: u64) -> Self {
        Self {
            id,
            hap_type: HapType::Slats,
			current_slat_state: CurrentSlatStateCharacteristic::new(id + 1 + 0, accessory_id),
			slat_type: SlatTypeCharacteristic::new(id + 1 + 1, accessory_id),
			name: Some(NameCharacteristic::new(id + 1 + 0 + 2, accessory_id)),
			swing_mode: Some(SwingModeCharacteristic::new(id + 1 + 1 + 2, accessory_id)),
			current_tilt_angle: Some(CurrentTiltAngleCharacteristic::new(id + 1 + 2 + 2, accessory_id)),
			target_tilt_angle: Some(TargetTiltAngleCharacteristic::new(id + 1 + 3 + 2, accessory_id)),
			..Default::default()
        }
    }
pub fn new ( id : u64 , accessory_id : u64 ) -> Self { Self { id , hap_type : HapType :: Slats , current_slat_state : CurrentSlatStateCharacteristic :: new ( id + 1 + 0 , accessory_id ) , slat_type : SlatTypeCharacteristic :: new ( id + 1 + 1 , accessory_id ) , name : Some ( NameCharacteristic :: new ( id + 1 + 0 + 2 , accessory_id ) ) , swing_mode : Some ( SwingModeCharacteristic :: new ( id + 1 + 1 + 2 , accessory_id ) ) , current_tilt_angle : Some ( CurrentTiltAngleCharacteristic :: new ( id + 1 + 2 + 2 , accessory_id ) ) , target_tilt_angle : Some ( TargetTiltAngleCharacteristic :: new ( id + 1 + 3 + 2 , accessory_id ) ) , .. Default :: default ( ) } }
Creates a new Slats service.
Creates a new Slats service .
id
u64
accessory_id
u64
id
u64
accessory_id
u64