pub fn new(id: u64, accessory_id: u64) -> Self {
        Self {
            id,
            hap_type: HapType::AirPurifier,
			active: ActiveCharacteristic::new(id + 1 + 0, accessory_id),
			current_air_purifier_state: CurrentAirPurifierStateCharacteristic::new(id + 1 + 1, accessory_id),
			target_air_purifier_state: TargetAirPurifierStateCharacteristic::new(id + 1 + 2, accessory_id),
			lock_physical_controls: Some(LockPhysicalControlsCharacteristic::new(id + 1 + 0 + 3, accessory_id)),
			name: Some(NameCharacteristic::new(id + 1 + 1 + 3, accessory_id)),
			rotation_speed: Some(RotationSpeedCharacteristic::new(id + 1 + 2 + 3, accessory_id)),
			swing_mode: Some(SwingModeCharacteristic::new(id + 1 + 3 + 3, accessory_id)),
			..Default::default()
        }
    }
/// Creates a new Air Purifier service.
Creates a new Air Purifier service.
Creates a new Air Purifier service .
pub fn new(id: u64, accessory_id: u64) -> Self {
        Self {
            id,
            hap_type: HapType::AirPurifier,
			active: ActiveCharacteristic::new(id + 1 + 0, accessory_id),
			current_air_purifier_state: CurrentAirPurifierStateCharacteristic::new(id + 1 + 1, accessory_id),
			target_air_purifier_state: TargetAirPurifierStateCharacteristic::new(id + 1 + 2, accessory_id),
			lock_physical_controls: Some(LockPhysicalControlsCharacteristic::new(id + 1 + 0 + 3, accessory_id)),
			name: Some(NameCharacteristic::new(id + 1 + 1 + 3, accessory_id)),
			rotation_speed: Some(RotationSpeedCharacteristic::new(id + 1 + 2 + 3, accessory_id)),
			swing_mode: Some(SwingModeCharacteristic::new(id + 1 + 3 + 3, accessory_id)),
			..Default::default()
        }
    }
pub fn new ( id : u64 , accessory_id : u64 ) -> Self { Self { id , hap_type : HapType :: AirPurifier , active : ActiveCharacteristic :: new ( id + 1 + 0 , accessory_id ) , current_air_purifier_state : CurrentAirPurifierStateCharacteristic :: new ( id + 1 + 1 , accessory_id ) , target_air_purifier_state : TargetAirPurifierStateCharacteristic :: new ( id + 1 + 2 , accessory_id ) , lock_physical_controls : Some ( LockPhysicalControlsCharacteristic :: new ( id + 1 + 0 + 3 , accessory_id ) ) , name : Some ( NameCharacteristic :: new ( id + 1 + 1 + 3 , accessory_id ) ) , rotation_speed : Some ( RotationSpeedCharacteristic :: new ( id + 1 + 2 + 3 , accessory_id ) ) , swing_mode : Some ( SwingModeCharacteristic :: new ( id + 1 + 3 + 3 , accessory_id ) ) , .. Default :: default ( ) } }
Creates a new Air Purifier service.
Creates a new Air Purifier service .
id
u64
accessory_id
u64
id
u64
accessory_id
u64