Commit Graph
6 Commits
Author SHA1 Message Date
J. Nick KostonandGitHub 7aa1359c4a Cache try_parse_enum (#87911) 2023-02-12 03:57:36 -06:00
epenetandGitHub 1225c5e97d Add enum util (#87082)
* Add enum helper

* docstring

* Move to util

* Add use case
2023-02-01 15:00:27 +01:00
707fe67c00 Move StrEnum to homeassistant.backports and move Platform to homeassistant.const (#60880)
Co-authored-by: Franck Nijhof <[email protected]>
Co-authored-by: Paulus Schoutsen <[email protected]>
2021-12-03 09:31:17 +01:00
Marc MuellerandGitHub a90ef488a1 Add return type annotation to StrEnum (#60624) 2021-11-30 16:26:02 +01:00
Franck NijhofandGitHub 6e3f522d4b Fix StrEnum backport return type issue (#60610) 2021-11-30 11:16:56 +01:00
053c456199 Change device entry type to an StrEnum (#59940)
Co-authored-by: Ville Skyttä <[email protected]>
Co-authored-by: Franck Nijhof <[email protected]>
2021-11-22 18:14:15 +01:00