Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add for refrigerator midjd6.fridge.s16 objects 'select_properties': 'mode' #2259

Open
MikhailTeddy opened this issue Dec 31, 2024 · 0 comments

Comments

@MikhailTeddy
Copy link

MikhailTeddy commented Dec 31, 2024

Device model / 设备型号

midjd6.fridge.s16

Component version / 插件版本

v1.0.7

HA core version / HA版本

2024.12.5

Integrated mode / 集成方式

Token

The problem / 问题详情

This model has buttons in the application for presetting modes: "Smart", "Quick coolling", "Quick frozen", "Holiday" and for the adjustable drawer: "Premium", "Maternal-infant Products", "Zero Degree"

In my device_customizes.py file, I made the following entries, now I can select presets in HA as in the application.

'midjd6.fridge.s16': {
'select_properties': 'mode',
},

Entity attributes / 实体属性

select.midjd6_s16_mode
options:
  - None
  - Smart
  - Quick Cooling
  - Quick Frozen
  - Holiday
fridge.mode: 1
friendly_name: Xiaomi refrigerator Fridge Mode

select.midjd6_s16_mode_2
options:
  - Premium
  - Maternal-infant Products
  - Zero Degree
fridge_chamber-6.mode: 0
friendly_name: Xiaomi refrigerator Change Cabin Mode

Home Assistant Logs / 系统日志

No response

al-one added a commit that referenced this issue Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant