Giter Club home page Giter Club logo

Comments (4)

loopyengineeringco avatar loopyengineeringco commented on August 11, 2024

Having the same issue.
After deleting and re-setting up the integration, it goes dead after a while.

from melcloud.

ojkaas avatar ojkaas commented on August 11, 2024

The only thing I could think of that is different is that i tried to update the device after the power on/off switch was triggered, maybe this introduced some problems as this is not rate limitted. I have removed the update from the switch device, hope this helps!

I did not touch any of the other rate limit stuff so that is not really into my control, and if it needs to be looked at, i really need somebody to help me that has better python skills :D

from melcloud.

ojkaas avatar ojkaas commented on August 11, 2024

I actually saw in the official melcloud integration that they are struggling with this problem too as mitsubishi made the polling rates cut off much more strict. I copied over the changes they did to reduce the polling rate to every 5 minutes.

from melcloud.

cneagoe1973 avatar cneagoe1973 commented on August 11, 2024

Hello again,
please can you double check the last update version because we have some errors in line 444 in
"/usr/src/homeassistant/homeassistant/config_entries.py

see below the logs when I tried to add an entry:

2024-02-14 07:33:42.096 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry [email protected] for melcloudwitherv
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 444, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/melcloudwitherv/init.py", line 70, in async_setup_entry
mel_devices = await mel_devices_setup(hass, conf[CONF_TOKEN])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/melcloudwitherv/init.py", line 174, in mel_devices_setup
all_devices = await get_devices(
^^^^^^^^^^^^
TypeError: get_devices() got an unexpected keyword argument 'user_update_interval'

from melcloud.

Related Issues (2)

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.