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.

unable to add sensors to Energy Tab - individual devices

See original GitHub issue

not sure if this is an issue or if it’s me. everything was good and I was able to add sensors manually, then noticed a couple updates ago that my sensors are NOT available to add as individual devices in the energy tab.

I have defined a few initial sensors to begin with. My understanding is the power sensors are now automatically created. (and I can see them with values in my entities - ie office ceiling power), however, they do NOT appear to be available within the Energy implementation as noted above

I have also created 2 integration sensors manually - these DO display within the Energy Module and I am able to add as individual devices

What am I missing???

Thanx in advance

powercalc yaml below… (importing as a package)

powercalc:
  sensor:
    - platform: powercalc
      entity_id: light.switchlinc_dimmer_44_e8_9e
      linear:
        min_power: 0
        max_power: 34
        # power in watts
        # 2x17watt bulbs
    - platform: powercalc
      entity_id: switch.switchlinc_relay_dual_band_53_7f_bd
      fixed:
        power: 40
        # power in watts
        # 2x20watt halogen bulbs
    - platform: powercalc
      entity_id: switch.switchlinc_relay_dual_band_53_76_3d
      fixed:
        power: 50
        # power in watts
        # 2x25watt LED bulbs
    - platform: powercalc
      entity_id: light.switchlinc_dimmer_3c_74_dd
      linear:
        min_power: 0
        max_power: 47.5
        # power in watts
        # 5x9.5watt LED bulbs

#integration sensor to use with ENERGY * created automatically now
#    - platform: integration
#      source: sensor.office_ceiling_power
#      name: office ceiling
#      unit_prefix: k
#      round: 2
#    - platform: integration
#      source: sensor.island_master_power
#      name: island master
#      unit_prefix: k
#      round: 2
#    - platform: integration
#      source: sensor.garage_nook_power
#      name: garage nook
#      unit_prefix: k
#      round: 2
    - platform: integration
      source: sensor.pentair_ec_60_dd_edge_l_pump_current_watts
      name: edge pump energy
      unit_prefix: k
      round: 2
    - platform: integration
      source: sensor.pentair_ec_60_dd_pool_l_pump_current_watts
      name: pool pump energy
      unit_prefix: k
      round: 2

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
anderssvcommented, Sep 15, 2021

Exact same issue. Perfect, it works after an update to the DB. 😃

1reaction
bsp9493commented, Sep 15, 2021

I can confirm, that WAS my issue!

once I figured out how to use php myadmin for my Maria db

Updated the NULLS to kWh and All is fine…. Sensors showed up immediately in the energy integration!

d

On Sep 15, 2021, at 10:08 AM, Bram Gerritsen @.***> wrote:

@anderssv Yes must be some stale data or weird attribute. Maybe you have the same problem as in this comment: #180 (comment), that the measurement was previously recorded as unit “None” and now as “kWh” which triggers an error. You can update the statistics table or remove all records in it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to add devices to Energy Config (select doesn't work)
I've had no issues previously adding individual devices to my energy dashboard, but now after upgrading to 2022.6 it seems I cannot select ......
Read more >
Sense Energy Monitor: Individual Devices Not listing ... - GitHub
I have Sense Energy Monitor, https://www.home-assistant.io/integrations/sense/ Which detects individual devices and I can see them in HA ...
Read more >
Home Assistant Energy Dashboard // Add Emporia Monitor ...
We go over adding the Emporia Energy meter to the dashboard, take a... ... and I show you some hacks to get more...
Read more >
Energy Monitoring with Home Assistant - YouTube
Measure how much energy your house is using per day with Home Assistant and some smart home gadgets. In this video I cover:00:00 ......
Read more >
Troubleshoot Wi-Fi and connection issues for Nest products
Open the Nest app. Tap Settings on the app home screen. Scroll down and check if you already have Nest Connect in your...
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