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
..
2016-03-09 11:15:04 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-04-02 00:29:08 +02:00
2021-04-09 09:58:27 -07:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-02-24 17:02:48 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-04-02 00:29:08 +02:00
2019-07-31 12:25:30 -07:00
2021-01-01 22:31:56 +01:00