Files
core/tests/components
Erik Montnemery 6979cd95b0 Add suggested_unit_of_measurement attribute to sensors (#80638)
* Add suggested_unit_of_measurement attribute to sensors

* Lazy calculation of initial entity options

* Add type alias for entity options

* Small tweak

* Add tests

* Store suggested_unit_of_measurement in its own option key

* Adapt to renaming of IMPERIAL_SYSTEM

* Fix rebase mistakes

* Apply suggestions from code review

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-10-24 16:08:02 +02:00
..
2022-09-20 18:33:45 +02:00
2022-10-13 07:31:33 -06:00
2022-04-25 07:41:01 -07:00
2022-04-20 08:56:05 +02:00
2022-10-18 12:06:51 +02:00
2022-10-15 13:57:23 -04:00
2022-09-20 10:50:07 -04:00
2022-04-26 23:09:10 -07:00
2022-09-28 07:41:33 +02:00
2022-09-05 07:55:12 -05:00
2022-10-15 13:57:23 -04:00
2022-08-16 09:33:33 -04:00
2022-09-20 18:33:45 +02:00
2022-10-15 13:57:23 -04:00
2022-10-15 13:57:23 -04:00
2022-09-28 08:06:24 +02:00
2022-09-09 08:57:14 +02:00
2022-10-15 13:57:23 -04:00
2022-09-25 23:08:31 -04:00
2022-04-26 16:32:00 +02:00
2022-10-01 21:22:18 -07:00
2022-08-17 22:37:47 -04:00
2021-11-01 20:47:05 -07:00
2022-09-28 08:06:24 +02:00
2022-10-24 15:14:43 +02:00
2022-10-21 22:54:42 +02:00
2022-09-13 10:07:38 +02:00
2022-10-20 00:06:49 +03:00
2022-10-15 13:57:23 -04:00
2021-11-01 20:47:05 -07:00
2022-10-14 13:09:00 +02:00
2022-09-19 15:22:23 +02:00
2022-09-19 15:22:23 +02:00
2022-10-15 13:57:23 -04:00
2022-10-15 13:57:23 -04:00
2022-01-13 15:32:39 +01:00