* 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 |
||
---|---|---|
.. | ||
__init__.py | ||
test_device_condition.py | ||
test_device_trigger.py | ||
test_helpers.py | ||
test_init.py | ||
test_recorder.py | ||
test_significant_change.py | ||
test_websocket_api.py |