* Allow customizing sensor precision * Don't convert integer strings to floats * Tweak converting sensor state to number * Drop default rounding to 2 decimals * Adjust test * Tweak rounding, improve test coverage * Don't convert to a number if not necessary * Raise if native_precision is set and state is not numeric * Address review comments * Address comments, simplify * Don't call property twice * Make exception more helpful |
||
---|---|---|
.. | ||
translations | ||
__init__.py | ||
const.py | ||
device_condition.py | ||
device_trigger.py | ||
group.py | ||
helpers.py | ||
manifest.json | ||
recorder.py | ||
significant_change.py | ||
strings.json | ||
websocket_api.py |