Skip to content

Commit

Permalink
👔 add sub-entities for mibx5.washer.f28 (#2207)
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Dec 27, 2024
1 parent e571c0e commit c7d8e9b
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions custom_components/xiaomi_miot/core/device_customizes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1062,9 +1062,15 @@
'exclude_miot_services': 'battery',
},
'mibx5.washer.*': {
'sensor_properties': 'fault,left_time,door_state,run_status,detergent_left_level',
'switch_properties': 'sleep_mode,steam_sterilization,detergent_self_delivery',
'select_properties': 'soak_time,reservation_wash_status,reservation_left_time,detergent_self_delivery_level',
'sensor_properties': 'fault,left_time,door_state,run_status,power_consumption,water_consumption,clean_lefttime,'
'detergent_left_level,fabric_softener_left_level,water_temperature',
'switch_properties': 'on,sleep_mode,steam_sterilization,high_water_switch,detergent_self_delivery,blue_oxygen,'
'child_protected_enabled,self_delivery_auto_turnoff,laundry_beads,one_click_wash,ai_mode,'
'disinfectant_mode,linkage_on',
'select_properties': 'mode,soak_time,drying_level,drying_degree,reservation_wash_status,'
'detergent_self_delivery_level,softener_self_delivery_level',
'number_select_properties': 'target_temperature,rinsh_times,spin_speed,wash_time,shake_time,drying_time,reservation_left_time',
'button_actions': 'start_wash,stop_washing,pause,clean_start,clean_stop',
},
'midjd8.washer.*': {
'select_properties': 'shake_time,soak_time',
Expand Down Expand Up @@ -2549,6 +2555,16 @@
{'props': ['target_position'], 'class': MiotTargetPositionConv},
],
},
{
'services': ['alarm'],
'converters' : [
{
'props': ['alarm'],
'domain': 'switch',
'option': {'entity_category': 'config'},
},
],
},
{
'services': ['physical_control_locked', 'physical_controls_locked'],
'converters' : [
Expand Down

0 comments on commit c7d8e9b

Please sign in to comment.