267 Commits

Author SHA1 Message Date
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
sususweet
bdfc65d922 feat: update device mapping for T0xB2. 2026-01-08 22:12:10 +08:00
sususweet
e85e83a681 feat: update device mapping for T0xE7. Fix #89 2026-01-08 16:46:47 +08:00
sususweet
39932a2d2d feat: update device mapping for T0xE7. Fix #89 2026-01-07 21:04:24 +08:00
sususweet
77b3af3168 feat: update device mapping for T0x24. Fix #82 2026-01-07 20:53:05 +08:00
Yingqi Tang
06ee534873 Merge pull request #88 from Cyborg2017/master
Fix functionality gaps for several specific devices; add support for two new device models T0xB6 and T0xB8Master
2026-01-07 11:52:50 +08:00
Cyborg2017
38c42318cc feat: add device mapping for T0xB8(750004AT)
* Device type: T0xB8, Sn8: 750004AT, model: V12.
2026-01-07 11:23:58 +08:00
Cyborg2017
27b9522851 feat: add device mapping for T0xB6(730007H8)
* Device type: T0xB6, Sn8: 730007H8, model: CXW-140-AK7 PRO.
2026-01-07 11:23:51 +08:00
Cyborg2017
2ac5880eb6 feat: add command template support for device control
- Add command field support to MideaNumberEntity and MideaSelectEntity
- Command templates allow defining fixed parameters in configuration
- Options/values are merged with command template before sending to device
- Backward compatible - existing configurations continue to work

Examples in device_mapping:

1. For NUMBER platform - brightness control with protocol template:
```yaml
Platform.NUMBER: {
    "lightness": {
        "min": 10,
        "max": 100,
        "step": 5,
        "command": {
            "electronic_control_version": 2,
            "type": "b6",
            "b6_action": "setting",
            "setting": "light",
            "lightness": "{value}"  # {value} placeholder for actual number value
        }
    }
}

2.For SELECT platform - gesture selection with protocol template:
```yaml
Platform.SELECT: {
    "gesture": {
        "options": {
            "off": {"gesture": "off"},
            "on": {"gesture": "on"}
        },
        "command": {  # Protocol template for gesture control
            "electronic_control_version": 2,
            "type": "b6",
            "b6_action": "setting",
            "setting": "gesture"
            # {gesture} value from options will be merged automatically
        }
    }
}
2026-01-07 11:22:04 +08:00
Cyborg2017
dded4485d6 fix: support of cur_humidity for T0xFD(202Z310H) 2026-01-07 00:19:34 +08:00
Cyborg2017
696b2b17e7 fix: support of deep_filter_percent for T0xFC(571Z3081) 2026-01-07 00:19:34 +08:00
Cyborg2017
8820dbe8b1 fix: move gear setting to preset_mode for T0xFB(570667EC)
* also add support for cur_temperature sensor
2026-01-07 00:19:33 +08:00
Cyborg2017
a68ceb3104 fix: support of radar_induction_closing_time for T0x26(M0100040) 2026-01-07 00:19:30 +08:00
Cyborg2017
c91898621f fix: support of custom_timing for T0x17 2026-01-07 00:18:06 +08:00
sususweet
c55fc36119 feat: update device mapping for T0xED. Fix #85 2026-01-07 00:04:30 +08:00
Yingqi Tang
4a9183f486 Update FUNDING.yml 2026-01-06 15:29:10 +08:00
Yingqi Tang
f83056fd82 Create FUNDING.yml 2026-01-06 15:28:02 +08:00
sususweet
d94bbc06ac Merge remote-tracking branch 'origin/master' 2026-01-06 12:04:22 +08:00
sususweet
0a5dd1afde feat: update device mapping for T0xC2. Fix #80 2026-01-06 12:04:06 +08:00
sususweet
0341b9d105 feat: update device mapping for T0xC2. Fix
#80
2026-01-06 12:01:40 +08:00
sususweet
9a594777a6 feat: update device mapping for MHSR180N8-Z1 真暖热泵主机. v0.2.2 2026-01-05 21:13:43 +08:00
sususweet
2c0322d2a9 feat: version 0.2.2 2026-01-05 20:27:12 +08:00
sususweet
008d6a69bb feat: update device mapping for T0xBC. 2026-01-05 20:25:31 +08:00
Yingqi Tang
59cc5d506f Merge pull request #84 from Cyborg2017/staging
Perform updates for multiple devices.
2026-01-05 20:04:05 +08:00
Cyborg2017
e3a6ad1681 feat: add device mapping for T0xAC(23096633)
* Device type: T0xAC, Sn8: 23096633, model: KFR-75T2/B3N8-XF(1)Ⅲ.

- Remove non-existent swing function
- Add standalone power switch
- Correct aux heat key (ptc)
- Add energy sensor with kWh conversion
- Add support for intake_wind / exhaust_wind

Co-authored-by: Dali Yang <cnyangdali@outlook.com>
2026-01-05 19:55:51 +08:00
Cyborg2017
a738b2e4a0 feat: add device mapping for T0xAC(23096653)
* Device type: T0xAC, Sn8: 23096653, model: KFR-72T2/B3N8-XGQ(1)Ⅲ.

- Remove non-existent swing function and humidity sensor
- Fix disinfection key (fengguan_remove_odor)
- Add standalone power switch
- Correct aux heat key (ptc)
- Add energy sensor with kWh conversion
2026-01-02 22:45:56 +08:00
Cyborg2017
2e389c50cc feat: add device mapping for T0x26(M0100040)
* Device type: T0x26, Sn8: M0100040, model: MY-S6X28-Y9W/Y9AW.
- Optimize wind direction selector with unified angle control (60°-120°)
- Add automatic swing mode for dynamic air distribution
- Implement human-sensing night light switch with occupancy detection
- Introduce dedicated temperature selectors for heating and bath modes (30-42°C)
- Add lighting brightness controller with percentage-based adjustment (10-100%)
- Update and improve Chinese translation strings for better localization
2025-12-31 00:19:19 +08:00
Cyborg2017
e3b785c070 fix: Complete fan control with proper "off" state
Changes:
1. Fix speed selector "off" state:
   - `percentage` property returns 0 when fan is off
   - `async_set_percentage()` calls `async_turn_off()` for 0%
   - `async_turn_on()` handles percentage=0 as turn off

2. Add auto-power on:
   - `async_set_percentage()` powers on fan if off when selecting speed
   - `async_set_preset_mode()` powers on fan if off when switching modes

3. Enhance user experience:
   - 0% in speed slider → Turns fan off
   - Any speed selection when off → Auto powers on + sets speed
   - Mode switch when off → Auto powers on + sets mode
   - Works with range-based speed configs
2025-12-29 23:41:35 +08:00
Cyborg2017
75c4d6c80d feat: update translations for fan preset modes 2025-12-29 22:39:12 +08:00
Cyborg2017
085f7b3cde feat: Add preset mode specific speed configurations
- Each preset mode (e.g normal/sleep/baby) now supports independent speed settings
- Automatically sets fixed speed when switching to single-speed modes
- Maintains backward compatibility with existing configuration format
- Dynamic switching of speed configuration based on selected preset mode

The implementation allows for more intuitive control where different
operating modes can have different speed adjustment capabilities.
2025-12-29 22:38:57 +08:00