Commit Graph
9 Commits
Author SHA1 Message Date
Marc MuellerandGitHub d44f949b19 Use PEP 695 misc (2) (#117814) 2024-05-21 09:45:57 +02:00
Marc MuellerandGitHub 4cf0a3f154 Use PEP 695 for function annotations (3) (#117660) 2024-05-18 11:43:32 +02:00
Marc MuellerandGitHub 19ab3d6daf Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
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