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.

Dependency powercalc will wait for dependencies ['select']

See original GitHub issue
....
2022-07-11 09:16:00.681 DEBUG (MainThread) [homeassistant.setup] Dependency powercalc will wait for dependencies ['select']
2022-07-11 09:16:00.681 DEBUG (MainThread) [homeassistant.setup] Dependency powercalc will wait for dependencies ['select']
2022-07-11 09:16:00.681 DEBUG (MainThread) [homeassistant.setup] Dependency powercalc will wait for dependencies ['select']
2022-07-11 09:16:00.682 DEBUG (MainThread) [homeassistant.setup] Dependency powercalc will wait for dependencies ['select']
etcetc

is showing in the log ,probably for all entities in the powerful config (above snippet is but a small one…)

HA 2022.8.0.dev20220711

probably yet another core change…

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
bramstrokercommented, Aug 2, 2022

thx for your relentless efforts to improve this powerful integration!

You also for all your time beta testing HA and providing good debug information and input. Together we make HA even better!

1reaction
bramstrokercommented, Aug 1, 2022

Not something I can fix (and want to fix), this happens somewhere deep in HA core. Probably each sensor/platform entry results in 1 log line here. As it will trigger a platform setup, and that will check if all the dependencies are loaded. When this is not the case yet it will just log it. Nothing to be worried about and just expected.

Instead of having all seperate lines likes this:

sensor:
  - platform: powercalc
    entity_id: switch.foo
  - platform: powercalc
    entity_id: switch:bar

You can write like this:

sensor:
  - platform: powercalc
    entities:
      - entity_id: switch.foo
      - entity_id: switch:bar

That will probably result in only 1 log line.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Powercalc - Virtual power sensors - #303 by bramski
'Could not setup dependencies: device_tracker') ... Powercalc waits for this integration to load succesfully before it starts it's own setup ...
Read more >
PowerCalc: Home Assistant Virtual Power Sensors - GitHub
PowerCalc is a custom component for Home Assistant to estimate the power consumption (as virtual meters) of lights, fans, smart speakers and other...
Read more >
Wait for dependencies to be ready in integration tests - Batect
When running integration or end-to-end tests, you might need to start a number of external dependencies for your application, such as databases or...
Read more >
Managing Cross-Node Dependencies with Desired State ...
To accomplish this, you will need to use the WaitForAny resource. This will tell the web server to wait for a dependency to...
Read more >
N6149A iDEN/WiDEN/MotoTalk Analyzer ... - Cal.equipment
Application Mode Number Selection (Remote Command Only) ... Power Calc Uses. 758. Modulation ... backward compatible, but it will work as customers expect....
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