Files
midea-meiju-codec/custom_components/midea_auto_cloud/device_mapping
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
..
2025-09-25 10:50:39 +08:00
2025-10-27 23:05:30 +08:00
2025-09-25 11:45:46 +08:00
2025-10-01 22:42:52 +08:00
2025-11-21 09:39:42 +08:00
2025-12-20 16:29:54 +08:00
2025-11-11 15:34:30 +08:00
2025-10-13 12:44:20 +08:00
2025-11-19 01:48:11 +08:00
2025-12-09 14:17:17 +08:00
2025-10-31 22:47:43 +08:00