Platform error climate.midea_ac - Requirements for midea_ac not found: ['msmart==0.2.4']
See original GitHub issueBug Description
After the update on release 0.2.4 the error appears.
Already tried to install via ‘pip install msmart’, which led to the upgrade to msmart 0.2.5 but the error persists.
➜ ~ pip show msmart Name: msmart Version: 0.2.5 Summary: A library to control Midea appliances via the Local area network Home-page: https://github.com/mac-zhou/midea-msmart Author: mac_zhou Author-email: mac.zfl@gmail.com License: MIT Location: /usr/lib/python3.10/site-packages Requires: click, ifaddr, pycryptodome, requests
Tried also to upgrade Core Version to 2022.7.6, but the issue is not solved.
I can get the devices discovered with ‘Midea-discover’ via CLI
INFO:msmart.cli:*** Found a device: {'name': 'net_ac_DB24', 'ssid': 'net_ac_DB24', 'ip': '192.168.188.199 [...] INFO:msmart.cli:*** Found a device: {'name': 'net_ac_FB12', 'ssid': 'net_ac_FB12', 'ip': '192.168.188.198' [...]
but they are still Unavailable on the GUI and the HA Configuration check fails with the error
Platform error climate.midea_ac - Requirements for midea_ac not found: ['msmart==0.2.4'].
Versions (版本信息)
- Home Assistant version: 2022.6.6 and 2022.7.6
- OS version: 8.2
- Midea msmart version: 0.2.4
Issue Analytics
- State:
- Created a year ago
- Comments:14
Top GitHub Comments
Those modes might have been missing because of mac-zhou/midea-msmart#90 as seen in #186 and #183. The fix is sitting here mac-zhou/midea-msmart#95
Just wanted to share my experience here as I had the same issue. I updated msmart to 0.2.5 in the manifest file of the midea_ac component itself and was able to get it to load in HA. I’m running Core 2022.9.4
I had one other issue that may or may not be related which was that none of the modes were listed for my unit (heat, cool, heat_cool, etc). I assume this was particular to my unit, which is a DuctlessAire heat pump.
midea-discover
shows a model number of “00Q13”, which is not the “0xac” specified in this readme. Interestingly, I was able to manually add these modes in the component and it works great.For example, in climate.py: