Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: __init__() missing 1 required positional argument: 'device_port' #6

Open
titogarrido opened this issue Jul 23, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@titogarrido
Copy link

Describe the bug (描述一下问题)
I have installed today (07/23), cloning this repository and I am receiving the following message when hassio starts:

2021-07-23 12:57:16 ERROR (MainThread) [homeassistant.components.climate] Error while setting up midea_ac platform for climate
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 199, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/midea_ac/climate.py", line 73, in async_setup_platform
    device = ac(device_ip, int(device_id))
TypeError: __init__() missing 1 required positional argument: 'device_port'

Versions (版本信息)

  • Home Assistant version: core-2021.1.5
  • Midea msmart version:
    {
    "domain": "midea_ac",
    "name": "Midea Smart Aircon",
    "version": "0.0.0",
    "documentation": "",
    "requirements": ["git+https://github.com/kueblc/midea-msmart.git@support-8370#msmart", "pycryptodome", "midea"],
    "dependencies": [],
    "codeowners": ["@mac-zhou"]
    }
@titogarrido titogarrido added the bug Something isn't working label Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant