Code Monkey home page Code Monkey logo

Comments (5)

saury avatar saury commented on July 18, 2024

Got the same issue.

from xiaomi_airconditioningcompanion.

syssi avatar syssi commented on July 18, 2024

I would like to fix this issue and would be happy about some testing.

from xiaomi_airconditioningcompanion.

mouth4war avatar mouth4war commented on July 18, 2024

I can also help with testing this fix

from xiaomi_airconditioningcompanion.

syssi avatar syssi commented on July 18, 2024

@mouth4war Cool! I will ping you as soon as I made some progress.

from xiaomi_airconditioningcompanion.

dpf1025 avatar dpf1025 commented on July 18, 2024

S大,我这边调用xiaomi_miio_airconditioningcompanion.climate_learn_command服务的时候也提示未知错误
型号为:一代米家网关lumi.acpartner.v2

调用服务:
service: xiaomi_miio_airconditioningcompanion.climate_learn_command
data:
entity_id: climate.aqara_air_conditioning_companion

log显示如下:
此错误来自自定义集成。

Logger: homeassistant.helpers.script.websocket_api_script
Source: custom_components/xiaomi_miio_airconditioningcompanion/climate.py:577
Integration: xiaomi_miio_airconditioningcompanion (documentation, issues)
First occurred: 2022年8月17日 21:07:16 (14 occurrences)
Last logged: 13:42:32

websocket_api script: Error executing script. Unexpected error for call_service at pos 1: sleep() got an unexpected keyword argument 'loop'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 447, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 680, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1713, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1750, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/config/custom_components/xiaomi_miio_airconditioningcompanion/climate.py", line 195, in async_service_handler
await getattr(device, method["method"])(**params)
File "/config/custom_components/xiaomi_miio_airconditioningcompanion/climate.py", line 577, in async_learn_command
yield from asyncio.sleep(1, loop=self.hass.loop)
TypeError: sleep() got an unexpected keyword argument 'loop'

from xiaomi_airconditioningcompanion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.