Giter Site home page Giter Site logo

Comments (3)

zxdavb avatar zxdavb commented on July 22, 2024

This is the relevant Traceback:

2024-06-09 10:38:45.598 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by custom integration 'ramses_cc' at custom_components/ramses_cc/broker.py, line 175: return Gateway( 
(offender: /usr/local/lib/python3.12/site-packages/serial/tools/list_ports_linux.py, line 84: 
with open(os.path.join(*args)) as f:), 
please create a bug report at https://github.com/zxdavb/ramses_cc/issues

Traceback (most recent call last):
...
  File "/config/custom_components/ramses_cc/broker.py", line 126, in async_setup
    self.client = self._create_client(merged_schema)
  File "/config/custom_components/ramses_cc/broker.py", line 175, in _create_client
    return Gateway(

from ramses_cc.

zxdavb avatar zxdavb commented on July 22, 2024

In ramses_rf, Gateway, which is a subclass of Engine, we have is_hgi80():

class Engine:
    def __init__(
        self,
        port_name: str | None,
        input_file: TextIOWrapper | None = None,
...
    ) -> None:
...
        if input_file:
            self._disable_sending = True
        elif port_name:
            is_hgi80(port_name)  # raise an exception if the port is not found

from ramses_cc.

zxdavb avatar zxdavb commented on July 22, 2024

I believe it is fixed.

from ramses_cc.

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.