Closed DellanX closed 7 months ago
@DellanX I have added some feature #2056, however this only applies to the energy
sensor generated by powercalc.
So with this feature you are able to attach the energy sensor to another device (in your case Roku TV)
On hindsight I'm reading your question again, but I think you were talking specifically about the power sensor (W), not the energy sensor (kWh).
The "Real power" option for powercalc is exactly the same as the "Riemann integral sum" helper which HA core provides, but with a few additional options. The purpose is to create an energy sensor for an existing power sensor.
Your feature requests seems about replacing the existing power sensor with some proxy entity provided by powercalc. But this is not something I'm going to add in powercalc, as it is out of scope for the integration. Don't want to "pollute" it with this kind of exotic feature, which almost nobody would use, and also difficult to understand for most users.
Your question essentially boils down to be able to attach a given entity to multiple devices, but I think this will never be possible in HA, as this requires massive architectural changes.
When you want some kind of proxy sensor you could just do with a template sensor in HA, and make a feature request for the ability to add a template sensor to a specific device. I think this feature was requested multiple times before on community forum, so you could also cast your vote there.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
Checklist
Is your feature request related to a problem? Please describe.
I have a bunch of energy sensors in my apartment. Some of which are Power Strips (TP Link's Kasa smart power strips)
I have devices plugged into them, which are supported by multiple integrations. Let's say a Roku TV for example. It's frustrating that I can look at the Roku and see each integration that uses that device, except the power meter.
Describe the solution you'd like
I'd like to be able to add an energy sensor to the Roku TV, which is just cloning and hiding the real power sensor from the power strip. I think this integration could pull it off, I'd just need a secondary option to the "Real Power Sensor" which would be me providing a device to associate it to. (Basically, a virtual power for that device, from a "Real Power Sensor"
Describe alternatives you've considered
I've considered maybe reaching out to HA, on a way to associate entities between integrations. But, I think I need to come up with a more generic proposal before I go that route.
Additional context
None Applicable.