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.

Power reading unavailable

See original GitHub issue

I’m not sure what caused this possibly update to v183 I have tried redownloading and restarting HA.

############################
# powercalc global  in config.yaml   #
############################
powercalc:
  scan_interval: 00:01:00 #Each minute
  energy_sensor_precision: 3
  create_utility_meters: true

#############################
# power calc   in sensor.yaml              #
#############################
- platform: powercalc
  entity_id: climate.bathroom_1
  name: Bathroom 1
  fixed:
    states_power:
      hvac_action|idle: 0
      hvac_action|cooling: 0
      hvac_action|heating: 160
- platform: powercalc
  entity_id: climate.bathroom_2
  name: Bathroom 2
  fixed:
    states_power:
      hvac_action|idle: 0
      hvac_action|cooling: 0
      hvac_action|heating: 160

image

image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
PhillyGillycommented, Feb 25, 2022

Thanks. I’ll install it now. Looks good!

2022-02-25 10:31:42 DEBUG (MainThread) [custom_components.powercalc] Start auto discovering entities
2022-02-25 10:31:42 DEBUG (MainThread) [custom_components.powercalc] Done auto discovering entities
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=switch.towel_rail_1 sensor_name=Towel Rail 1 power strategy=FixedStrategy manufacturer= model= standby_power=None unique_id=Towel rail  1)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Towel Rail 1 energy
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Towel Rail 1 energy daily (entity_id=sensor.towel_rail_1_energy_daily)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Towel Rail 1 energy weekly (entity_id=sensor.towel_rail_1_energy_weekly)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Towel Rail 1 energy monthly (entity_id=sensor.towel_rail_1_energy_monthly)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=switch.towel_rail_2 sensor_name=Towel Rails 2 power strategy=FixedStrategy manufacturer= model= standby_power=None unique_id=Towel rail 2)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Towel Rails 2 energy
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Towel Rails 2 energy daily (entity_id=sensor.towel_rails_2_energy_daily)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Towel Rails 2 energy weekly (entity_id=sensor.towel_rails_2_energy_weekly)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Towel Rails 2 energy monthly (entity_id=sensor.towel_rails_2_energy_monthly)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=switch.towel_rail_3 sensor_name=Towel Rail 3 power strategy=FixedStrategy manufacturer= model= standby_power=None unique_id=Towel rail 3)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Towel Rail 3 energy
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Towel Rail 3 energy daily (entity_id=sensor.towel_rail_3_energy_daily)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Towel Rail 3 energy weekly (entity_id=sensor.towel_rail_3_energy_weekly)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Towel Rail 3 energy monthly (entity_id=sensor.towel_rail_3_energy_monthly)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=climate.bathroom_1 sensor_name=Bathroom 1 power strategy=FixedStrategy manufacturer= model= standby_power=None unique_id=Bathroom 1)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Bathroom 1 energy
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Bathroom 1 energy daily (entity_id=sensor.bathroom_1_energy_daily)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Bathroom 1 energy weekly (entity_id=sensor.bathroom_1_energy_weekly)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Bathroom 1 energy monthly (entity_id=sensor.bathroom_1_energy_monthly)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=climate.bathroom_2 sensor_name=Bathroom 2 power strategy=FixedStrategy manufacturer= model= standby_power=None unique_id=Bathroom 2)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Bathroom 2 energy
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Bathroom 2 energy daily (entity_id=sensor.bathroom_2_energy_daily)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Bathroom 2 energy weekly (entity_id=sensor.bathroom_2_energy_weekly)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Bathroom 2 energy monthly (entity_id=sensor.bathroom_2_energy_monthly)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=climate.bathroom_3 sensor_name=Bathroom 3 power strategy=FixedStrategy manufacturer= model= standby_power=None unique_id=Bathroom 3)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Bathroom 3 energy
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Bathroom 3 energy daily (entity_id=sensor.bathroom_3_energy_daily)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Bathroom 3 energy weekly (entity_id=sensor.bathroom_3_energy_weekly)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Bathroom 3 energy monthly (entity_id=sensor.bathroom_3_energy_monthly)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=climate.garden_studio sensor_name=Garden Studio power strategy=FixedStrategy manufacturer= model= standby_power=None unique_id=Garden Studio)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Garden Studio energy
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Garden Studio energy daily (entity_id=sensor.garden_studio_energy_daily)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Garden Studio energy weekly (entity_id=sensor.garden_studio_energy_weekly)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Garden Studio energy monthly (entity_id=sensor.garden_studio_energy_monthly)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=switch.under_drive_heating sensor_name=UnderDrive power strategy=FixedStrategy manufacturer= model= standby_power=None unique_id=68EB8B_RL_1)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: UnderDrive energy
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: UnderDrive energy daily (entity_id=sensor.underdrive_energy_daily)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: UnderDrive energy weekly (entity_id=sensor.underdrive_energy_weekly)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: UnderDrive energy monthly (entity_id=sensor.underdrive_energy_monthly)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=switch.bedroom2_1 sensor_name=ElectricBlanket power strategy=FixedStrategy manufacturer= model= standby_power=None unique_id=89E9CA_RL_1)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: ElectricBlanket energy
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: ElectricBlanket energy daily (entity_id=sensor.electricblanket_energy_daily)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: ElectricBlanket energy weekly (entity_id=sensor.electricblanket_energy_weekly)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: ElectricBlanket energy monthly (entity_id=sensor.electricblanket_energy_monthly)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=switch.lounge1 sensor_name=Lounge1 power strategy=FixedStrategy manufacturer= model= standby_power=None unique_id=E9AC17_RL_1)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Lounge1 energy
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Lounge1 energy daily (entity_id=sensor.lounge1_energy_daily)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Lounge1 energy weekly (entity_id=sensor.lounge1_energy_weekly)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Lounge1 energy monthly (entity_id=sensor.lounge1_energy_monthly)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=switch.hall1 sensor_name=Hall1 power strategy=FixedStrategy manufacturer= model= standby_power=None unique_id=E9AB61_RL_1)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Hall1 energy
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Hall1 energy daily (entity_id=sensor.hall1_energy_daily)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Hall1 energy weekly (entity_id=sensor.hall1_energy_weekly)
2022-02-25 10:31:43 DEBUG (MainThread) [custom_components.powercalc.sensors.utility_meter] Creating utility_meter sensor: Hall1 energy monthly (entity_id=sensor.hall1_energy_monthly)
2022-02-25 10:32:15 DEBUG (MainThread) [custom_components.powercalc.sensors.power] switch.towel_rail_1: State changed to "off". Power:0
2022-02-25 10:32:15 DEBUG (MainThread) [custom_components.powercalc.sensors.power] switch.towel_rail_2: State changed to "off". Power:0
2022-02-25 10:32:15 DEBUG (MainThread) [custom_components.powercalc.sensors.power] switch.towel_rail_3: State changed to "off". Power:0
2022-02-25 10:32:15 DEBUG (MainThread) [custom_components.powercalc.sensors.power] climate.bathroom_1: State changed to "off". Power:0
2022-02-25 10:32:15 DEBUG (MainThread) [custom_components.powercalc.sensors.power] climate.bathroom_2: State changed to "heat". Power:0
2022-02-25 10:32:15 DEBUG (MainThread) [custom_components.powercalc.sensors.power] climate.bathroom_3: State changed to "off". Power:0
2022-02-25 10:32:15 DEBUG (MainThread) [custom_components.powercalc.sensors.power] climate.garden_studio: State changed to "heat". Power:0
2022-02-25 10:32:15 DEBUG (MainThread) [custom_components.powercalc.sensors.power] switch.under_drive_heating: State changed to "off". Power:0
2022-02-25 10:32:15 DEBUG (MainThread) [custom_components.powercalc.sensors.power] switch.bedroom2_1: State changed to "off". Power:0
2022-02-25 10:32:15 DEBUG (MainThread) [custom_components.powercalc.sensors.power] switch.lounge1: State changed to "off". Power:0
2022-02-25 10:32:15 DEBUG (MainThread) [custom_components.powercalc.sensors.power] switch.hall1: State changed to "off". Power:0
2022-02-25 10:32:27 DEBUG (MainThread) [custom_components.powercalc.sensors.power] climate.bathroom_1: State changed to "off". Power:0
2022-02-25 10:32:27 DEBUG (MainThread) [custom_components.powercalc.sensors.power] climate.garden_studio: State changed to "heat". Power:0
0reactions
bramstrokercommented, Feb 25, 2022

Released v0.18.4 which should fix your issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix the "There Are Currently No Power Options ...
Here's how to fix it. Bring back missing power options in Windows 10. Do you get a “There are currently no power options...
Read more >
power reading not working · Issue #105 · amanusk/s-tui - GitHub
i believe the power requirements were Sandy Bridge and newer. The proc I have is a Sky Lake. CentOS Linux release 7.6.1810 (Core)...
Read more >
iPad Unavailable? How to Fix it? - Top 3 Ways - MSPoweruser
Read this guide and learn how to fix iPad unavailable through different reliable methods. No passcode/password is needed.
Read more >
Got your iPhone unavailable? Here're 4 solutions to fix it!
There are several options to fix iPhone Unavailable problem. ... a screen passcode which will only allow its owner to read the files...
Read more >
Type your question here and we'll get you an answer!
... smartphone apps, sensors, data, reader, sensor application, and more. ... The discounts are not available to beneficiaries of Kaiser Permanente, ...
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