Replies: 1 comment
-
There is no option in powercalc to change virtual power sensor to a group sensor. I'm not sure how to do it. I would do with some SQL queries myself, export all old data from But I doubt it's the best way. Might be there is a built-in way to migrate statistics in HA. Your best bet is to ask on HA forum or discord as it's also a more generic HA question. "How to add a new sensor, but keep/migrate statistics of old sensor?". |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
A couple of monthes ago I created a fixed powercalc sensor to calculate power consumption of a fan always on. It works fine, here what I got in Development tool :
state_class: measurement
calculation_mode: fixed
integration: powercalc
source_entity: sensor.dummy
source_domain: sensor
unit_of_measurement: W
device_class: power
friendly_name: Ventilateur power
Now I changed this fan with 2 fans each controlled with a Shelly plus PM1 with power measurement included.
I would like to modify my powercalc fixed sensor to a group sensor and include my 2 shellys (to keep previous statistics).
I cannot find a way to do this.
I use HAOS on Raspberry.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions