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.

illuminance broken in 0.85

See original GitHub issue

Using both the sensor.dark_sky_icon and the weather.dark_sky do not work. This was working in 0.84.6.

2019-01-10 13:45:44 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.sensor.illuminance. Make sure all dependencies are installed
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/loader.py", line 92, in get_component
    module = importlib.import_module(path)
  File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 673, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/root/.homeassistant/custom_components/sensor/illuminance.py", line 19, in <module>
    from homeassistant.components.sensor.darksky import (
ImportError: cannot import name 'CONF_ATTRIBUTION'
2019-01-10 13:45:44 ERROR (MainThread) [homeassistant.loader] Unable to find component sensor.illuminance

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
pnbrucknercommented, Jan 11, 2019

No problem. I usually leave issues opened until the PR is done, which will automatically close the issue. So I’ll reopen. 😃

0reactions
niemyjskicommented, Jan 21, 2019

Doh, I think the sensor was deleted when I was moving around my config. I could have sworn I had it defined.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Various Factors for Illumination Calculations
The illuminance and luminance levels in a lighting installation do not remain constant over its period of operation. Over time, they decrease ...
Read more >
FHWA Lighting Handbook August 2012 - Safety | Federal ...
This handbook is an update to the 1978 FHWA Lighting Handbook ... Each of these zones is further broken into solid angles within...
Read more >
Lighting Calculations in the LED Era - Mouser Electronics
The LLD for a compact fluorescent is typically about 0.85. The LED luminaire is rated 1019 lumens with a CU @ RCR of...
Read more >
Architecture Terminology Lighting - HubPages
Daylighting is generally broken into two categories: ... The ratio of the daylight incident on a horizontal plane 0.85m above the floor of...
Read more >
Effects of Lighting Quality on Working Efficiency of Workers in ...
Existing research asserts that poor indoor environmental quality such as lighting has a detrimental effect on human health, and in case of ...
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