Skip to content

Commit

Permalink
🛏 add support for xiaomi.blanket.mj1 (#1896)
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Oct 24, 2024
1 parent 87f47dc commit 4542c37
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion custom_components/xiaomi_miot/core/device_customizes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@
'chunk_properties': 1,
'sensor_properties': 'fault,water_level,a_temperature,b_temperature',
'switch_properties': 'alarm,antifreezing_switch,ab_sleep_switch,anti_scald_switch',
'select_properties': 'mode,water_level',
'select_properties': 'mode',
'number_properties': 'target_temperature,timer',
},

Expand Down Expand Up @@ -1403,6 +1403,12 @@
'button_actions': 'homepage,light',
'text_actions': 'play_text,execute_text_directive',
},
'xiaomi.blanket.mj1': {
'chunk_properties': 1,
'switch_properties': 'anti_scald_switch,ab_sleep_switch,auto_screen_off',
'select_properties': 'mode,heat_level',
'number_properties': 'a_countdown,b_countdown',
},
'xiaomi.esteamer.mes01': {
'sensor_properties': 'left_time,keep_warm_left_time',
'switch_properties': 'auto_keep_warm',
Expand Down

1 comment on commit 4542c37

@al-one
Copy link
Owner Author

@al-one al-one commented on 4542c37 Oct 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.