pub fn new(id: u64, accessory_id: u64) -> Self {
        Self {
            id,
            hap_type: HapType::FilterMaintenance,
			filter_change_indication: FilterChangeIndicationCharacteristic::new(id + 1 + 0, accessory_id),
			filter_life_level: Some(FilterLifeLevelCharacteristic::new(id + 1 + 0 + 1, accessory_id)),
			filter_reset_change_indication: Some(FilterResetChangeIndicationCharacteristic::new(id + 1 + 1 + 1, accessory_id)),
			name: Some(NameCharacteristic::new(id + 1 + 2 + 1, accessory_id)),
			..Default::default()
        }
    }
/// Creates a new Filter Maintenance service.
Creates a new Filter Maintenance service.
Creates a new Filter Maintenance service .
pub fn new(id: u64, accessory_id: u64) -> Self {
        Self {
            id,
            hap_type: HapType::FilterMaintenance,
			filter_change_indication: FilterChangeIndicationCharacteristic::new(id + 1 + 0, accessory_id),
			filter_life_level: Some(FilterLifeLevelCharacteristic::new(id + 1 + 0 + 1, accessory_id)),
			filter_reset_change_indication: Some(FilterResetChangeIndicationCharacteristic::new(id + 1 + 1 + 1, accessory_id)),
			name: Some(NameCharacteristic::new(id + 1 + 2 + 1, accessory_id)),
			..Default::default()
        }
    }
pub fn new ( id : u64 , accessory_id : u64 ) -> Self { Self { id , hap_type : HapType :: FilterMaintenance , filter_change_indication : FilterChangeIndicationCharacteristic :: new ( id + 1 + 0 , accessory_id ) , filter_life_level : Some ( FilterLifeLevelCharacteristic :: new ( id + 1 + 0 + 1 , accessory_id ) ) , filter_reset_change_indication : Some ( FilterResetChangeIndicationCharacteristic :: new ( id + 1 + 1 + 1 , accessory_id ) ) , name : Some ( NameCharacteristic :: new ( id + 1 + 2 + 1 , accessory_id ) ) , .. Default :: default ( ) } }
Creates a new Filter Maintenance service.
Creates a new Filter Maintenance service .
id
u64
accessory_id
u64
id
u64
accessory_id
u64