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" devices of different unit_of_measurements are merged

See original GitHub issue

Some of my plugs report multiple values (e.g. W, kWh, A, V etc) but currently they are all being grouped in the sensor.area_power_* sensors. It would be better if they could be grouped in unit_of_measurement

HASS Version | 0.118.3
HASS Type | Home Assistant Core
Magic_Areas version | 1.1.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
issue-label-bot[bot]commented, Nov 23, 2020

Issue-Label Bot is automatically applying the label feature-request to this issue, with a confidence of 0.75. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

1reaction
syphernlcommented, Nov 24, 2020

Could you clarify? Do you mean grouping plugs with same units of measurement?

Yes. One of my plugs exposes 5 entities with different units of measurements:

  • sensor.zolder_plug_wasdroger_power
  • sensor.zolder_plug_wasdroger_electricity_a_meter
  • sensor.zolder_plug_wasdroger_electricity_kwh_meter (counter of used kwh)
  • sensor.zolder_plug_wasdroger_electricity_pf_meter
  • sensor.zolder_plug_wasdroger_electricity_v_meter

They are however being combined into one *_power entity by magic_areas which does not make much sense to me with the different units. For me, only the first one with unit_of_measurement: W is interesting. I could add them to the exclude (which I have done) but perhaps the “out of the box” behavior could be tweaked a little so it would make more sense?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Power measurement devices and how they work
Power measurement devices and how they work. The measurement of electrical power has not changed much over the years.
Read more >
Merging unit – an essential building block of the future digital ...
Digital measurements from the merging unit can easily be connected to several protection devices over the IEC 61850-based substation ...
Read more >
Connecting Power Supplies in Parallel or Series for Increased ...
The reasons for using multiple power supplies may include redundant operation to improve reliability or increased output power.
Read more >
Units of Measurement - an overview | ScienceDirect Topics
This measurement unit of electricity (electric charge) is a basic unit used in calculating the amounts of active materials needed for an electrochemical...
Read more >
List of unusual units of measurement - Wikipedia
List of unusual units of measurement · Length · Area · Volume · Flow rate · Mass · Time · Angular measure ·...
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