Skip to content

Decimals formatting not possible #78

@Snubbeke

Description

@Snubbeke

How can I format decimals in this card since templating does not work?
For example {{ states('sensor.victron_ble_esp32_mppt_output_current') | float(1) }} does not work.

See also issue #51:

Another angle on this... the card doesn't reflect the suggested_display_precision set on a MQTT Sensor.

HA Blog Feb 2023 The number of decimals used when displaying a sensor state is now configurable

Originally posted by @askpatrickw in #51

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