Skip to content

Rounding of values is incorrect #51

@getget1980

Description

@getget1980

Hello, first thanks for your work.

Should add a way to set elements values in kW or W as input, and kW or W to display (and calculate).

Some of my sensors are in W (no problem), but others are in kW, and values are rounded to the closest integer.

As a result, power calculation is not good and values are unreadable.

Also, if using an extra, should be able to determine also how to round the value (see atached image, for the dishwasher and washing machine), or at least set a trigger value to display not null values.

image

Here the result is incorrect.

Compare to my other flow (values are good on this one)
image

Solar shows 0, because value is 0.2kW, rounded to 0.
Grid shows 1kW because value is 0.640kW

Center value should display 2180w

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions