JonahKr / power-distribution-card

A Lovelace Card for visualizing power distributions.
MIT License
219 stars 13 forks source link

Simple request for animation speed #138

Closed georgepauna closed 1 year ago

georgepauna commented 1 year ago

I think it would be nice if each arrow animation speed would be different based on percentage of a global value. For example: if global value "expected_consumption" is 2000W, an arrow animation for an item which shows 100W would be slow, and an item with 2500W would be fast. I think multiplying current speed of each arrow animation with watts/expected_consumption would be spot on, even allowing speed multiplication by values > 1, something above expected_consumption would move very vast...

Maybe you can find a better name for the global value... :)