Skip to content

Commit

Permalink
🚪 improve for zinguo.motor.mk01 (#2077)
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Jan 2, 2025
1 parent 8124c94 commit 5793cdc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions custom_components/xiaomi_miot/core/device_customizes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2182,6 +2182,14 @@
'number_properties': 'target_temperature,light_off_time,children_mode_temp,comfort_mode_temp,adult_mode_temp,'
'kitchen_mode_temp,pet_mode_temp,custom_time,boost_value',
},
'zinguo.motor.mk01': {
'sensor_properties': 'status,fault,block_alarm,unclosed_alarm',
'select_properties': 'mode,block_type',
'number_properties': 'block_devicealarm,unclosed_devicealarm,unclosed_set',
},
'zinguo.motor.mk01:motor_control': {
'device_class': 'garage',
},
'zinguo.switch.b5m': {
'sensor_properties': 'temperature',
'switch_properties': 'heating,blow,ventilation',
Expand Down Expand Up @@ -2410,6 +2418,13 @@
'*.motion.*:trigger_at': {
'device_class': 'timestamp',
},
'*.motor.*': {
'switch_properties': 'motor_reverse',
'select_properties': 'mode',
'chunk_coordinators': [
{'interval': 10, 'props': 'status,current_position,target_position'},
],
},
'*.oven.*': {
'sensor_properties': 'temperature,left_time,cook_time,working_time',
'number_properties': 'target_temperature',
Expand Down

0 comments on commit 5793cdc

Please sign in to comment.