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
..
2021-04-20 17:40:41 +02:00
2021-04-20 17:40:41 +02:00
2021-04-20 17:40:41 +02:00
2021-04-20 17:40:41 +02:00
2021-03-17 18:34:19 +01:00
2021-04-20 17:40:41 +02:00
2021-04-20 17:40:41 +02:00
2021-04-20 17:40:41 +02:00
2021-03-17 18:34:19 +01:00
2021-04-09 09:58:27 -07:00
2021-03-17 18:34:19 +01:00
2021-04-20 17:40:41 +02:00
2021-04-20 17:40:41 +02:00
2021-04-20 17:40:41 +02:00
2021-04-20 17:40:41 +02:00
2021-04-20 17:40:41 +02:00
2021-04-20 17:40:41 +02:00
2021-04-24 14:39:24 -10:00
2021-04-20 17:40:41 +02:00
2021-03-17 18:34:19 +01:00
2021-04-20 17:40:41 +02:00
2021-04-17 08:35:21 +02:00
2021-04-02 00:29:08 +02:00
2021-03-17 18:34:19 +01:00
2021-04-24 14:39:24 -10:00
2021-04-20 17:40:41 +02:00