Skip to content

Commit

Permalink
🍃 add alarm switch for air-purifier (#1028)
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Feb 18, 2023
1 parent abc2163 commit 8b124cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/xiaomi_miot/core/device_customizes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@
},
'*.airpurifier.*': {
'main_miot_services': 'air_purifier',
'switch_properties': 'air_purifier.on',
'switch_properties': 'air_purifier.on,alarm.alarm',
'sensor_properties': 'relative_humidity,pm2_5_density,temperature,filter_life_level',
},
'*.bhf_light.*': {
Expand Down

0 comments on commit 8b124cc

Please sign in to comment.