Skip to content

Commit

Permalink
🐈 improve for xiaomi feeder (#2092)
Browse files Browse the repository at this point in the history
  • Loading branch information
chinaboard authored Dec 17, 2024
1 parent 6775562 commit d5a4076
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions custom_components/xiaomi_miot/core/device_customizes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1622,17 +1622,18 @@
'switch_properties': 'add-meal-state,food-intake-state,schedule-state,compensate_switch,prevent_accumulation',
'select_properties': 'set-screen-display',
},
'xiaomi.feeder.iv2001:pet_food_out': {
'action_params': 1,
},
'xiaomi.feeder.pi2001': {
'chunk_properties': 1,
'button_actions': 'pet_food_out,reset_desiccant_life,weigh_manual_calibrate',
'number_properties':'target_feeding_measure',
'sensor_properties': 'pet_food_left_level,fault,desiccant_left_level,desiccant_left_time',
'sensor_properties': 'pet_food_left_level,fault,eaten_food_measure,desiccant_left_level,desiccant_left_time',
'switch_properties': 'compensate_switch,prevent_accumulation',
},
'xiaomi.feeder.pi2001:pet_food_out': {
'xiaomi.feeder.*:eaten_food_measure': {
'state_class': 'measurement',
'unit_of_measurement': 'g',
},
'xiaomi.feeder.*:pet_food_out': {
'action_params': 1,
},
'xiaomi.health_pot.p1': {
Expand Down

0 comments on commit d5a4076

Please sign in to comment.