reptilex / tesla-style-solar-power-card

Home assistant power card mimicking the one tesla provides for the powerwall app.
211 stars 59 forks source link

Threshold for marginal power flows #115

Open ThomDietrich opened 2 years ago

ThomDietrich commented 2 years ago

Hey there, occasionally I can see that a very small power is registered for one of the entities. I've observed this for generation, battery, grid, and the electric car charger.

Example: image

Would it be possible to define a configuration varible for this? All power (absolute for positive and negative values) smaller than that setting will be replaced by 0.

threshold_minimum_power_w: 5

Thanks for considering! Cheers

reptilex commented 2 years ago

yeah, Ive been thinking about that one too ... will take time unless you do your own PR ;)

ThomDietrich commented 2 years ago

Thanks! I'm not strong in js, let alone ts - I'll leave this in your capable hands :D