midea-ac-py icon indicating copy to clipboard operation
midea-ac-py copied to clipboard

Not working with HA 2025.1

Open grahambrown11 opened this issue 11 months ago • 4 comments

Describe the bug (描述一下问题) HA 2025.1 has removed some deprecations and now this integration fails to start.

Screenshots / Logs / Pcap File(屏幕截图/日志/抓包文件) ImportError: cannot import name 'SUPPORT_TARGET_TEMPERATURE' from 'homeassistant.components.climate.const'

Versions (版本信息)

  • Home Assistant version: 2025.1
  • Midea msmart version: 0.2.3

grahambrown11 avatar Jan 04 '25 19:01 grahambrown11

Looks like it's a result of this PR https://github.com/home-assistant/core/pull/131798

bitbrain-za avatar Jan 04 '25 19:01 bitbrain-za

I've rolled back to the last 2024 version until there's a fix From the terminal: ha core update --version 2024.12.5

bitbrain-za avatar Jan 04 '25 19:01 bitbrain-za

You should try my fork: https://github.com/mill1000/midea-ac-py

I'm actively maintaining it and keeping up with the latest HA changes.

mill1000 avatar Jan 04 '25 20:01 mill1000

You should try my fork: https://github.com/mill1000/midea-ac-py

I'm actively maintaining it and keeping up with the latest HA changes.

Works like a charm, thank you

bitbrain-za avatar Jan 05 '25 08:01 bitbrain-za