question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

0.16.4-3 broke again :(

See original GitHub issue

Hey!

thanks for the hard work in resolving the last issue with upgrading to 2022.4. My intergration was working well using 0.16.3 on 2022.4.1, then i upated to 0.16.4-3 and now i get the error below on HAOS via HACS.

This error originated from a custom integration.

Logger: homeassistant.loader
Source: custom_components/dyson_local/sensor.py:330
Integration: Dyson Local (documentation, issues)
First occurred: 12:30:38 PM (3 occurrences)
Last logged: 12:30:40 PM

Unexpected exception importing platform custom_components.dyson_local.sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 603, in get_platform
    cache[full_name] = self._import_platform(platform_name)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 620, in _import_platform
    return importlib.import_module(f"{self.pkg_path}.{platform_name}")
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/config/custom_components/dyson_local/sensor.py", line 325, in <module>
    class DysonHCHOSensor(DysonSensorEnvironmental):
  File "/config/custom_components/dyson_local/sensor.py", line 330, in DysonHCHOSensor
    _attr_device_class = SensorDeviceClass.NONE
  File "/usr/local/lib/python3.9/enum.py", line 429, in __getattr__
    raise AttributeError(name) from None
AttributeError: NONE

as for what is actually happening, it seems none of my sensors are avialable (all sensors show “unvaiable” BUT I can control the thermostats.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
Kakisecommented, Apr 9, 2022

also, I don’t know how HACS or HA supports version numbers, but I wonder if it the dot convention would have helped here- for example, 0.16.4.4 vs 0.16.4-4? just a thought

Honestly I have no idea. But I’ll keep that in mind and do more digging for the next release (which will only be in the x.y.z format anyway haha). Glad you found a solution ! 😃

1reaction
Anto79-opscommented, Apr 8, 2022

@Kakise please no, lol! Your work and others is always appreciated here!

HACS hasnt pushed 16.4-4 to me yet (even after updating information), so i’ll keep checking, as they are likely throttling me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Version history/0.16.0 - Factorio Wiki
0.16.43. Date: 14. 05. 2018 ... (more); Fixed that blueprint manipulation was broken in replays. (even opening the gui crashed the game) ...
Read more >
Untitled
Looking back, the idea is definitely good, but we want to make it more clear. ... Fixed construction robot tutorial breaking when removing...
Read more >
an ecological study of phyllodistomum solidum - JSTOR
Molluscs were again hunted and Pisidium pusillum was encountered in small numbers in each pool. Collections of salamanders from these two places re-....
Read more >
Tracing the merger-driven evolution of active galaxies using ...
a broken correlation between these two quantities. The lower lu- ... 0.84 (0.16) 43. –0.45. 1058+726 ... One must again take into account...
Read more >
INFORMATION TO USERS - Iowa State University
method, acid conversion, breaks the starch molecules by high temperature ... 0.00 19.38 7.24 2.93 0.50 0.33 0.16 43 ... It can again...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found