GithubHelp home page GithubHelp logo

dala318 / python_poollab Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 1.0 156 KB

Python API for Pool Lab 1.0

License: MIT License

Python 100.00%
chlorine cloud-api gql hacs-integration home-assistant ph-monitoring pool poollab python

python_poollab's Issues

Add config for native_precision

Sensor entities get presented with full precision (10+ decimals) which makes no sense.
Add setting of property 'native_precision' to some reasonable value, likely 1 for all measures.

HA 2024.1.3 - Integration is broken

After updating HomeAssistant to version 2024.1.3 (12.01.2004), the integration cannot retrieve data - entities no longer available.


Logger: homeassistant.setup
Source: setup.py:403
First occurred: 12. Januar 2024 um 22:00:33 (2 occurrences)
Last logged: 10:24:00

Unable to prepare setup for platform 'poollab.sensor': Platform not found (Exception importing custom_components.poollab.sensor).


Logger: homeassistant.loader
Source: loader.py:842
First occurred: 12. Januar 2024 um 22:00:33 (2 occurrences)
Last logged: 10:24:00

Unexpected exception importing platform custom_components.poollab.sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 842, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 859, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/poollab/sensor.py", line 46, in
class MeasurementSensor(CoordinatorEntity, SensorEntity):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 408, in init
wrap_attr(cls, property_name)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 380, in wrap_attr
raise TypeError(f"Can't override {attr_name} in subclass")
TypeError: Can't override _attr_unique_id in subclass

Keine Verbindung mehr

Zur Zeit bekomme ich keine Verbindung mehr zur Cload aufgebaut. Egal ob man einen neuen Token erstellt oder den alten nutzen will.

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.