mirror of
https://github.com/home-assistant/core.git
synced 2026-07-04 23:51:32 +02:00
3f33fc6122
Convert values to integer if rounding precision is zero. With that a value which is an integer before filtering can be configured to stay integer when using precision = 0. This also aligns behavior of filters to how rounding behaves in tempaltes (homeassistant/helpers/template.py, function forgiving_round).