Sleeper85 / esphome-jk-bms-can

GNU General Public License v3.0
86 stars 23 forks source link

Reorder lambda #28

Closed MrPabloUK closed 6 months ago

MrPabloUK commented 6 months ago

Moving the global variable portion of the lambda to the start means that processor time isn't wasted on calculating auto CVL if the feature is disabled, or if cell voltage delta is below the cutoff threshold.