Wh vs W in Home Assistant #280
-
I have this weird quirk (although maybe its not a quirk and I am just off base) Here is my code below: I have two of them because I have about 28 circuits, I have the main on one of them, then about 8 circuits leftover on another one.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Maybe it's because you're using the same name for the power & energy sensors. Try |
Beta Was this translation helpful? Give feedback.
-
Good suggestion. I created two separate variables lists this morning and uploaded, and about six hours later I checked and it had reverted to Wh from W. I only did it on one of the ESPs so I could identify if I actually fixed it or what. What else might it be?.something with the statistics? |
Beta Was this translation helpful? Give feedback.
Maybe it's because you're using the same name for the power & energy sensors. Try
name: $cir_1_name Power
&name: $cir_1_name Energy
, since it seems like you're allowed to combine substitutions with literal text: https://esphome.io/guides/configuration-types#config-substitutions