@@ -527,4 +527,57 @@ def _update_from_device(self) -> None:
527527 vendor_id = (4447 ,),
528528 product_id = (8194 ,),
529529 ),
530+ MatterDiscoverySchema (
531+ platform = Platform .SELECT ,
532+ entity_description = MatterSelectEntityDescription (
533+ key = "AqaraOccupancySensorBooleanStateConfigurationCurrentSensitivityLevel" ,
534+ entity_category = EntityCategory .CONFIG ,
535+ translation_key = "sensitivity_level" ,
536+ options = ["low" , "standard" , "high" ],
537+ device_to_ha = {
538+ 0 : "low" ,
539+ 1 : "standard" ,
540+ 2 : "high" ,
541+ }.get ,
542+ ha_to_device = {
543+ "low" : 0 ,
544+ "standard" : 1 ,
545+ "high" : 2 ,
546+ }.get ,
547+ ),
548+ entity_class = MatterAttributeSelectEntity ,
549+ required_attributes = (
550+ clusters .BooleanStateConfiguration .Attributes .CurrentSensitivityLevel ,
551+ ),
552+ vendor_id = (4447 ,),
553+ product_id = (
554+ 8197 ,
555+ 8195 ,
556+ ),
557+ ),
558+ MatterDiscoverySchema (
559+ platform = Platform .SELECT ,
560+ entity_description = MatterSelectEntityDescription (
561+ key = "HeimanOccupancySensorBooleanStateConfigurationCurrentSensitivityLevel" ,
562+ entity_category = EntityCategory .CONFIG ,
563+ translation_key = "sensitivity_level" ,
564+ options = ["low" , "standard" , "high" ],
565+ device_to_ha = {
566+ 0 : "low" ,
567+ 1 : "standard" ,
568+ 2 : "high" ,
569+ }.get ,
570+ ha_to_device = {
571+ "low" : 0 ,
572+ "standard" : 1 ,
573+ "high" : 2 ,
574+ }.get ,
575+ ),
576+ entity_class = MatterAttributeSelectEntity ,
577+ required_attributes = (
578+ clusters .BooleanStateConfiguration .Attributes .CurrentSensitivityLevel ,
579+ ),
580+ vendor_id = (4619 ,),
581+ product_id = (4097 ,),
582+ ),
530583]
0 commit comments