"Error while setting up powercalc platform for sensor" after upgrade to v0.14
See original GitHub issueGot these two errors in the log file after upgrade
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/powercalc/sensor.py", line 207, in async_setup_platform
entities = await create_sensors(hass, config, discovery_info)
File "/config/custom_components/powercalc/sensor.py", line 283, in create_sensors
(
ValueError: not enough values to unpack (expected 2, got 0)
and
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/powercalc/sensor.py", line 207, in async_setup_platform
entities = await create_sensors(hass, config, discovery_info)
File "/config/custom_components/powercalc/sensor.py", line 256, in create_sensors
return result[0]
IndexError: list index out of range
Not sure what additional information you’d like to see ?
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Powercalc - Virtual power sensors - #136 by QbaF
In the last few weeks I have been working on a custom component to get virtual power sensors for your lights or other...
Read more >homeassistant-powercalc/README.md at master - GitHub
Use real power sensor. Available from v0.14 and higher. In the yaml configuration (functionality not available through the webUI) you can add the...
Read more >Migrating Terraform versions - IBM Cloud Docs
14 upgrade, you must run the terraform apply with Terraform v0.13 to complete its state format upgrades. If you get any errors, see...
Read more >Upgrading to Terraform 0.14 Experience -WARNING! - ITNEXT
In this blog entry, I go over the changes to the provider configuration, sensitive outputs (which is great but has a blocking bug),...
Read more >PowerCalc Issues : r/homeassistant - Reddit
I've been trying to figure out the powercalc integration for a few days and it seems to update, drop, and add different sensors...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for reporting and testing. Just released v0.14.1. Closing this issue. Have a nice day.
For any other newbies (like me): it took me a while to figure out that the “Redownload” option allows to you select the version 😄