086a6460ef
* 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_binary_sensor.py | ||
test_climate.py | ||
test_config_flow.py | ||
test_coordinator.py | ||
test_diagnostics.py | ||
test_init.py | ||
test_select.py | ||
test_sensor.py | ||
util.py |