Skip to content

Commit

Permalink
🧹 improve for vacuum
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Dec 25, 2024
1 parent ccefb29 commit 9107ae0
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions custom_components/xiaomi_miot/core/device_customizes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1819,9 +1819,9 @@
'detergent_depletion_reminder,carpet_deep_cleaning,carpet_discriminate,sweep_carpet_first,'
'mop_outer_swing,alarm,no_disturb',
'select_properties': 'sweep_mop_type,sweep_type,clean_times,mode,mop_water_output_level,frequency_mop_wash,'
'water_output_for_washing_mop,drying_time,dust_arrest_frequency,auto_water_change,'
'carpet_cleaning_method,sweep_route,obstacle_avoidance_strategy,mop_outer_swing_frequency,'
'auto_dust_arrest_power_level,worry_free_clean_mode,wash_mop_water_temperature',
'water_output_for_washing_mop,drying_time,dust_arrest_frequency,carpet_cleaning_method,'
'sweep_route,obstacle_avoidance_strategy,mop_outer_swing_frequency,worry_free_clean_mode,'
'auto_dust_arrest_power_level,wash_mop_water_temperature',
'number_properties': 'frequency_mop_wash_by_time,volume',
'button_actions': 'start_sweep,stop_sweeping,stop_and_gocharge,start_only_sweep,start_mop,start_sweep_mop,'
'pause_sweeping,continue_sweep,start_dust_arrest,start_mop_wash,start_dry,start_eject,'
Expand All @@ -1832,7 +1832,7 @@
'detergent_depletion_reminder,carpet_cleaning_method,obstacle_avoidance_strategy,'
'carpet_deep_cleaning,carpet_discriminate,sweep_carpet_first,mop_outer_swing,'
'mop_outer_swing_frequency,frequency_mop_wash_by_time,auto_dust_arrest_power_level,'
'reset_mop_life,reset_brush_life,reset_filter_life',
'reset_mop_life,reset_brush_life,reset_filter_life,reset_dust_bag_life',
'chunk_coordinators': [
{'interval': 10, 'props': 'status,cleaning_area,cleaning_time,charging_state', 'notify': True},
{'interval': 15, 'props': 'mode,sweep_mop_type,sweep_type,clean_times'},
Expand Down Expand Up @@ -2407,6 +2407,22 @@
'select_properties': 'mode',
'number_select_properties': 'speed_level',
},
'*.vacuum.*': {
'binary_sensor_properties': 'mop_status',
'sensor_properties': 'status,cleaning_area,cleaning_time,mop_life_level,brush_life_level,filter_life_level,'
'dust_bag_life_level',
'select_properties': 'mode,sweep_mop_type,sweep_type,clean_times',
'number_properties': 'volume',
'button_actions': 'start_sweep,stop_sweeping,stop_and_gocharge,start_only_sweep,start_mop,start_sweep_mop,'
'pause_sweeping,continue_sweep,start_dust_arrest,start_mop_wash,start_dry,start_eject,'
'stop_mop_wash,stop_dry,back_mop_wash,start_charge,identify,'
'reset_mop_life,reset_brush_life,reset_filter_life,reset_dust_bag_life',
'configuration_entities': 'reset_mop_life,reset_brush_life,reset_filter_life,reset_dust_bag_life',
'chunk_coordinators': [
{'interval': 10, 'props': 'status,cleaning_area,cleaning_time,charging_state', 'notify': True},
{'interval': 15, 'props': 'mode,sweep_mop_type,sweep_type,clean_times'},
],
},
'*.walkingpad.*': {
'sensor_properties': 'current_distance,current_step_count,current_calorie_consumption,'
'left_distance,left_time,working_time',
Expand Down

0 comments on commit 9107ae0

Please sign in to comment.