Skip to content

Commit

Permalink
🍃 add support for xiaomi.airp.cpa4 (#1674)
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Oct 28, 2024
1 parent f001d93 commit 2b866fe
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions custom_components/xiaomi_miot/core/device_customizes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1401,6 +1401,16 @@
'exclude_miot_services': 'iot_linkage,machine_state,flag_bit',
'exclude_miot_properties': 'enhance.timer',
},
'xiaomi.airp.cpa4': {
'button_actions': 'toggle,reset_filter_life',
'sensor_properties': 'filter_life_level',
'switch_properties': 'alarm',
'select_properties': 'brightness,aqi_updata_heartbeat',
'number_properties': 'favorite_level',
'speed_property': 'favorite_level',
'exclude_miot_services': None,
'exclude_miot_properties': 'country_code,filter_used_time_dbg',
},
'xiaomi.airp.mp4': {
'switch_properties': 'anion,alarm',
'light_services': 'screen',
Expand Down

0 comments on commit 2b866fe

Please # to comment.