flixlix / power-flow-card-plus

A power distribution card inspired by the official Energy Distribution card for Home Assistant
501 stars 59 forks source link

[BUG] Watt and Kilowatt Decimal-Setting has no effect #558

Closed ohkaja closed 2 months ago

ohkaja commented 2 months ago

Describe the bug When Decimals configured in the advanced section the setting is not applied.

To Reproduce Steps to reproduce the behavior:

  1. advanced
  2. set Watt or Kilowatt decimals

Expected behavior 1.45 goes to 1.5 when decimal is set to 1

Screenshots Watt:

image

Kilowatt:

image

Browser Console Errors If applicable, add Errors from the browser console.

Desktop (please complete the following information):

Smartphone (please complete the following information):

flixlix commented 2 months ago

Should also be fixed in #560 Will merge for version 0.2.1 :)