RodBr / miflora-card

A Home Assistant Lovelace card to report MiFlora plant sensors based on the HA Plant Card.
21 stars 30 forks source link

Ensure config and sensor values are floats #7

Closed Olen closed 4 years ago

Olen commented 4 years ago

In certain conditions, values were interpreted as strings, not floats, which leads to wrong comparisons, and warnings. Ensuring that we compare floats with floats mitigates this.