hass-core/homeassistant
Erik Montnemery d2fd504442
Limit precision when stringifying float states (#48822)
* Limit precision when stringifying float states

* Add test

* Fix typing

* Move StateType

* Update

* Move conversion to entity helper

* Address review comments

* Tweak precision

* Tweak

* Make _stringify_state an instance method
2021-04-27 21:48:24 +02:00
..
auth Define data flow result type (#49260) 2021-04-15 07:17:07 -10:00
components Use ConfigEntry.async_on_unload in UpCloud (#49784) 2021-04-27 21:41:03 +02:00
generated Rework Fritz config_flow and device_tracker (#48287) 2021-04-25 00:10:33 -10:00
helpers Limit precision when stringifying float states (#48822) 2021-04-27 21:48:24 +02:00
scripts Update typing syntax (#49480) 2021-04-20 17:40:41 +02:00
util Don't ignore mypy errors by default (#49270) 2021-04-26 14:23:21 +02:00
__init__.py
__main__.py Update pylint to 2.8.0 (#49637) 2021-04-24 14:39:24 -10:00
block_async_io.py
bootstrap.py Avoid sending empty integration list multiple times during subscribe_bootstrap_integrations (#49181) 2021-04-15 23:16:17 -07:00
config.py Enable mccabe complexity checks in flake8 (#49616) 2021-04-25 12:38:40 +02:00
config_entries.py Reduce boilerplate to setup config entry platforms A-C (#49681) 2021-04-26 07:46:55 -10:00
const.py Raise an exception when event_type exceeds the max length (#48115) 2021-04-08 20:46:28 +02:00
core.py Update pylint to 2.8.0 (#49637) 2021-04-24 14:39:24 -10:00
data_entry_flow.py Allow data entry flows to hint for additional steps (#49202) 2021-04-23 11:02:12 -07:00
exceptions.py Update typing syntax (#49480) 2021-04-20 17:40:41 +02:00
loader.py Change log severity from warn to error for custom integration version (#49726) 2021-04-26 15:04:39 -07:00
package_constraints.txt Bump async-upnp-client to 0.16.2 (#49671) 2021-04-25 10:32:39 -10:00
requirements.py Update pylint to 2.8.0 (#49637) 2021-04-24 14:39:24 -10:00
runner.py Ensure shutdown does not deadlock (#49282) 2021-04-18 08:55:51 -10:00
setup.py Update typing syntax (#49480) 2021-04-20 17:40:41 +02:00
strings.json