mac-zhou / midea-ac-py

Home Assistant Custom Integration for Midea Group(Hualing, Senville, Klimaire, AirCon, Century, Pridiom, Thermocore, Comfee, Toshiba, Carrier, Goodman, Friedrich, Samsung, Kenmore, Trane, Lennox, LG and much more) Air Conditioners via LAN.
MIT License
539 stars 103 forks source link

Unable to install package msmart==0.2.4, #204

Open openstep opened 1 year ago

openstep commented 1 year ago

Describe the bug (描述一下问题) A clear and concise description of what the bug is. Running HA in docker, added the midea folder as described, than after HA docker restart, got the error

2023-01-01 22:02:15.343 ERROR (SyncWorker_4) [homeassistant.util.package] Unable to install package msmart==0.2.4: ERROR: Could not find a version that satisfies the requirement msmart==0.2.4 (from versions: 0.1.8, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.1.14, 0.1.15, 0.1.16, 0.1.17, 0.1.18, 0.1.19, 0.1.20, 0.1.21, 0.1.22, 0.1.23, 0.1.24, 0.1.25, 0.1.26, 0.1.27, 0.1.28, 0.1.29, 0.1.30, 0.1.31, 0.1.32, 0.1.33, 0.1.34, 0.1.35, 0.1.36, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.5)
ERROR: No matching distribution found for msmart==0.2.4

After a manual test with installing msmart inside docker:

s6-rc: info: service legacy-services successfully started
2022-12-25 21:39:54.786 ERROR (MainThread) [homeassistant.config] Invalid config for [mqtt]: [platform] is an invalid option for [mqtt]. Check: mqtt->mqtt->sensor->7->platform. (See /config/configuration.yaml, line 36). Please check the docs at https://www.home-assistant.io/integrations/mqtt

TRying to add a device produced an error 500 something error in flow on the UI

Screenshots / Logs / Pcap File(屏幕截图/日志/抓包文件) If applicable, add screenshots or your home-assistant log file or pcap file to help explain your problem. 请提交相关截图,日志,抓包让开发者能够更快的解决问题

Versions (版本信息)

mill1000 commented 1 year ago

Duplicate of #197. This project is currently in a broken state.

Manually installing msmart inside the docker container should have fixed it. Might need to clear the browser cache or perform a hard refresh (Ctrl-F5).

The log error about MQTT is unrelated.