Commit Graph

296 Commits

Author SHA1 Message Date
Yingqi Tang
0591822cd2 Merge pull request #111 from Cyborg2017/master
Add Vacuum Platform Foundation (344b061)
Feature: Initial vacuum platform setup
Add Platform.VACUUM to supported platforms list
Implement vacuum.py with core vacuum functionality
Update device registry to handle vacuum devices
Extend T0xB8 Mapping for Vacuum (2822b90)
Feature: Enable vacuum support for T0xB8 devices
Update T0xB8 device mapping to support vacuum entities
Add vacuum entity type to device registry for T0xB8
Maintain backward compatibility with existing T0xB8 mappings
Fix T0xD9 Binary Sensor (fed8519)
Fix: Correct binary sensor implementation
Update T0xD9 binary sensor logic
Fix translation keys for consistency
Enhance T0xD9 Washing Machine Logic (987ec12)
Enhancement: Improve position handling for washing machines
Add automatic position adjustment when db_position is 0
Enhance synchronization between control and operational status
Improve refresh_status query logic to follow position settings
Update multiple methods for consistent position handling
2026-02-11 10:00:36 +08:00
Cyborg2017
1eb5518526 feat: update device mapping for T0xB8 to support vacuum entities
- Extend device mapping configuration for vacuum platform
- Add vacuum entity type to device registry mapping
- Ensure backward compatibility with existing mappings
2026-02-09 21:09:19 +08:00
Cyborg2017
b0e2681c4e feat: add vacuum platform support with vacuum.py implementation
- Add Platform.VACUUM to supported platforms list
- Implement vacuum.py with core functionality
- Update device registry to handle vacuum devices
2026-02-09 21:09:16 +08:00
Cyborg2017
fed8519996 fix: update T0xD9 binary sensor and translation keys 2026-02-09 14:48:01 +08:00
Cyborg2017
987ec12a81 feat: enhance position handling logic for T0xD9 washing machines
- add automatic position adjustment when `db_position` is set to 0
- enhance synchronization updates between control status and operational status
- improve `refresh_status` query logic to adhere to current position setting

1. `set_attribute()` method:
   - add automatic synchronization of `db_location_selection` upon position changes
   - maintain backward compatibility for direct updates to `db_location_selection`

2. `set_attributes()` method:
   - add automatic synchronization of `db_location_selection` upon position changes
   - maintain backward compatibility for direct updates to `db_location_selection`

3. `refresh_status()` method:
   - update query parameter generation logic to adhere to `db_position` rules
   - add automatic update of `db_location_selection` during status refresh

4. `_parse_cloud_message()` method:
   - add logic to maintain consistency between `db_control_status` and operational status
2026-02-09 14:47:48 +08:00
sususweet
890e241922 chore: dump version to v0.2.6 v0.2.6 2026-02-07 14:50:21 +08:00
sususweet
2ff714d0d5 Merge branch 'master' of github.com:sususweet/midea-meiju-codec 2026-02-07 14:49:03 +08:00
sususweet
8e160c53f7 chore: download_plugin issue in msmartapp. 2026-02-07 14:46:39 +08:00
Yingqi Tang
c77dd6939e Merge pull request #108 from Cyborg2017/staging
feat: Add wind swing angle controls and prevent super cool switch for…
2026-02-07 12:11:00 +08:00
Yingqi Tang
dd769e039d Merge pull request #109 from rengaryang/rengar_dev
fix: write lua files with utf-8 encoding,the env as below:haos 17.0…
2026-02-07 12:10:38 +08:00
yangsiyuan.rengar
cfabc390f3 fix: write lua files with utf-8 encoding,the env as below:haos 17.0,core 2026.1.3 2026-02-06 14:51:49 +08:00
Cyborg2017
21b29f1a51 feat: Add wind swing angle controls and prevent super cool switch for AC devices 2026-02-05 11:11:19 +08:00
sususweet
0fedc10342 fix: file encoding misread. Fix #103. v0.2.5 2026-02-04 23:42:16 +08:00
sususweet
d5c1f3dce9 fix: prevent straight wind feature for T0xAC (22040023). Fix #75. 2026-02-04 23:34:11 +08:00
sususweet
e3f0bf9dfc fix: local buzzer control for T0xAC. Fix #102. 2026-02-04 23:33:42 +08:00
sususweet
d3cfb57dc2 feat: dump version to v0.2.5 2026-02-04 16:08:42 +08:00
sususweet
8eb2a71c3b fix: use lower case unique id for entity. 2026-02-04 16:05:27 +08:00
Yingqi Tang
31fb49e01a Merge pull request #106 from Cyborg2017/staging
Minor fixes and improvements
2026-02-04 15:59:01 +08:00
Cyborg2017
5082c3c202 feat: add support for new T0xDB device(38124914) 2026-02-02 23:41:24 +08:00
Cyborg2017
20d34729f1 fix: Correct return type from string to number for T0xDB 2026-02-02 23:00:25 +08:00
Cyborg2017
80fc4f7ce7 feat: add support for new T0xE1 device(7600V1E7) 2026-02-02 22:40:20 +08:00
Cyborg2017
5212eb7002 feat: add support for new T0xAC devices(22012369/22251077) 2026-02-02 21:37:42 +08:00
Cyborg2017
77f8e59358 feat: update device mapping for T0xFD(202Z219V) 2026-02-02 13:43:04 +08:00
Cyborg2017
234b4d6e4b feat: update device mapping for T0xFC(571Z307F) 2026-01-31 13:59:09 +08:00
Cyborg2017
a3ed31b212 feat: update device mapping for T0x13(22222222) 2026-01-30 13:59:20 +08:00
Cyborg2017
c879f911d1 feat: enhance color temperature control for light devices with flexible range
- Updated device mapping configuration to support explicit device range specification
  - Changed from simple [min_kelvin, max_kelvin] format to structured format:
    {"kelvin_range": [min_kelvin, max_kelvin], "device_range": [min_device, max_device]}
  - This allows devices with non-standard (non-1-100) color temp ranges to be properly supported

- Improved color temperature conversion logic in light entity:
  - Added support for device-specific range mapping instead of hardcoded 1-100 range
  - Enhanced configuration detection to handle both direct and nested formats
  - Updated kelvin-to-device and device-to-kelvin conversion to use dynamic ranges
2026-01-30 13:58:21 +08:00
Cyborg2017
81b8a509bc fix: correct brightness mapping for 0-255 configured light devices
Removed the erroneous brightness value mapping (1-100 ↔ 0-255) for devices
configured with brightness range [0, 255]. The previous logic incorrectly
assumed these devices actually operated in a 1-100 range, causing inaccurate
brightness values.
2026-01-30 13:58:05 +08:00
Cyborg2017
3cc231d65f feat: update device mapping for T0xB6(7300073N) 2026-01-30 13:14:58 +08:00
Cyborg2017
8e21f39b30 feat: update device mapping for T0xAC(22040023/22270043) 2026-01-30 13:13:02 +08:00
Yingqi Tang
b25f19bb96 Merge pull request #99 from Cyborg2017/staging
feat: add device mapping for T0xED(63000629)
v0.2.4
2026-01-21 09:21:51 +08:00
Cyborg2017
e67be126e7 feat: add device mapping for T0xED(63000629)
* Device type: T0xED, Sn8: 63000629, model: YD1906S-X.
2026-01-20 23:36:12 +08:00
Yingqi Tang
dff1d91975 Merge pull request #98 from Cyborg2017/staging
feat: Update device mapping for T0xB6
2026-01-20 14:19:49 +08:00
Cyborg2017
24bc3172c7 feat: Update device mapping for T0xB6
- Add device support for CXW-140-AK5 MAX (sn8: 730007GC)
- Create status translation files for "b7_left_status" and "b7_right_status"
2026-01-19 19:21:25 +08:00
Yingqi Tang
1b5283fa4e Minor fixes and improvements (#97)
* fix: correct voltage device class to battery for T0xBC

* fix: support of wind_pressure sensor for T0xB6(730007H8)

* also update translation_key

* fix: add PM2.5 threshold settings support for T0xFC(571Z3081)

* fix: Use correct rationale values for T0xD9 child_lock switch

* fix: Correct return type from string to number for T0xD9

---------

Co-authored-by: Yingqi Tang <tyq9702@sina.com>
2026-01-19 11:45:48 +08:00
Yingqi Tang
bf34991169 Merge branch 'master' into staging 2026-01-19 11:41:25 +08:00
zy900906
c92467f7d9 feat: add device mapping for CAX350GC1Ⅱ(T0xAC) (#93)
* Add files via upload

适配CAX350GC1Ⅱ

* Add files via upload

适配CAX350GC1Ⅱ

* Update T0xAC.py

* Update T0xAC.py

* Update en.json

* Update zh-Hans.json
2026-01-19 11:38:42 +08:00
Cyborg2017
023243297b fix: Correct return type from string to number for T0xD9 2026-01-19 10:45:04 +08:00
Cyborg2017
07c8fd32f0 fix: Use correct rationale values for T0xD9 child_lock switch 2026-01-19 10:44:52 +08:00
Cyborg2017
1f0b914d4d fix: add PM2.5 threshold settings support for T0xFC(571Z3081) 2026-01-18 20:07:17 +08:00
Cyborg2017
9f6cf15763 fix: support of wind_pressure sensor for T0xB6(730007H8)
* also update translation_key
2026-01-18 20:07:17 +08:00
Yang Cyborg
d19036f0db fix: correct voltage device class to battery for T0xBC 2026-01-18 20:07:05 +08:00
K
d9c36920e9 Add Water Model Support for T0xED (#94)
添加COLMO A36S 前置过滤器和美的 MRO1012-R 净热一体机及对应实体翻译
2026-01-17 23:02:15 +08:00
Yingqi Tang
6e85665bfb Merge pull request #92 from Cyborg2017/staging
update translations and device mapping for T0xDB
2026-01-13 22:43:20 +08:00
Cyborg2017
df70a7caf7 fix: update device mapping for T0xD9 2026-01-10 13:11:48 +08:00
Cyborg2017
1c67f8e780 feat: add device mapping for T0xDB(38133671)
* Device type: T0xDB, Sn8: 38133671T, model: TG10VE40/TG10VE40W.
2026-01-10 13:09:24 +08:00
Cyborg2017
be8148f337 feat: update translations for T0xDB 2026-01-10 13:09:06 +08:00
sususweet
2c4b35a4f1 feat: add support to Water Model SFEN-180/N1X-A(T0xAC). 2026-01-09 20:58:22 +08:00
sususweet
522198ba18 feat: fix translations missing. 2026-01-09 20:49:29 +08:00
Yingqi Tang
f8e8cccd31 Update manifest.json v0.2.3 2026-01-08 22:19:06 +08:00
sususweet
d4e7acae31 feat: update translation. 2026-01-08 22:15:12 +08:00