diff --git a/custom_components/xiaomi_miot/core/device_customizes.py b/custom_components/xiaomi_miot/core/device_customizes.py index 9055d76d2..d110d7b87 100644 --- a/custom_components/xiaomi_miot/core/device_customizes.py +++ b/custom_components/xiaomi_miot/core/device_customizes.py @@ -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,' @@ -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'}, @@ -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',