hass-core/tests/components/input_number
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
..
__init__.py Move components to folders (#20774) 2019-02-05 19:31:15 -08:00
test_init.py Limit precision when stringifying float states (#48822) 2021-04-27 21:48:24 +02:00
test_reproduce_state.py Add transition support to scenes, cleanup blocking parameter (#34434) 2020-04-20 18:07:50 -07:00