jontofront / ecoNET-300-Home-Assistant-Integration

ecoNET 300 integration to HA
8 stars 3 forks source link

issues with the v1.0.0-beta #54

Open expansing opened 7 months ago

expansing commented 7 months ago

Hi,

The HA just poped an update for the v1.0.0-beta update. Yes I have beta updates on. Very interested in your development. Removed the old version as instructed and installed the new beta. Found a couple of issues. This ones are reported by the HA.

Logger: homeassistant.setup
Source: setup.py:403
First occurred: 7:26:11 AM (2 occurrences)
Last logged: 7:36:28 AM

Unable to prepare setup for platform 'econet300.number': Platform not found (Exception importing custom_components.econet300.number).
Logger: homeassistant.loader
Source: loader.py:842
First occurred: 7:26:11 AM (2 occurrences)
Last logged: 7:36:28 AM

Unexpected exception importing platform custom_components.econet300.number
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 "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/config/custom_components/econet300/number.py", line 23, in <module>
    @dataclass
     ^^^^^^^^^
  File "/usr/local/lib/python3.11/dataclasses.py", line 1230, in dataclass
    return wrap(cls)
           ^^^^^^^^^
  File "/usr/local/lib/python3.11/dataclasses.py", line 1220, in wrap
    return _process_class(cls, init, repr, eq, order, unsafe_hash,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dataclasses.py", line 1027, in _process_class
    _init_fn(all_init_fields,
  File "/usr/local/lib/python3.11/dataclasses.py", line 545, in _init_fn
    raise TypeError(f'non-default argument {f.name!r} '
TypeError: non-default argument '_attr_native_step' follows default argument

Also: Many sensors will not display the correct data.

Regards, Cornel

jontofront commented 7 months ago

@expansing Thanks we will debug it

AlexSyxar commented 7 months ago

Hello. First of all many thanks for the integration development Just a small feedback. In ver 0.33 all sensors are ok but in all Betas they are unavailable (device model and fw are on screenshot) econet integr

PS is there any possibility in the future to perform a control of the device? For example to turn it on/off, change "set temperature"?

Thanks in advance

jontofront commented 7 months ago

yes, we rewrite the new version, in this version need to reinstall all entities. I mean delete integartion and reinstall. We working on that. Yes if you want new feature please request it opneed new ticket.

AlexSyxar commented 6 months ago

Unfortunately even after complete uninstallation and reinstallation version 1.0.0 beta10 doesn't see any devices, after downgrading (just redownloading without deinstallation) to 0.3.3 all devs appears immediately

jontofront commented 6 months ago

can you send me errors from error log?

On Sun, Feb 18, 2024 at 7:23 PM AlexSyxar @.***> wrote:

Unfortunately even after complete uninstallation and reinstallation version 1.0.0 beta10 doesn't see any devices, after downgrading (just redownloading without deinstallation) to 0.3.3 all devs appears immediately

— Reply to this email directly, view it on GitHub https://github.com/jontofront/ecoNET-300-Home-Assistant-Integration/issues/54#issuecomment-1951391582, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI2SSWSFFTBWRFBSV54OWDLYUI2IRAVCNFSM6AAAAABCC5IVM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJRGM4TCNJYGI . You are receiving this because you commented.Message ID: <jontofront/ecoNET-300-Home-Assistant-Integration/issues/54/1951391582@ github.com>

AlexSyxar commented 6 months ago

Sure. How it can be collected?