Commit Graph
5 Commits
Author SHA1 Message Date
Franck NijhofandGitHub ed79265843 Enable Ruff PT006 (#88165)
* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
J. Nick KostonandGitHub 0c35c6a313 Fix enum try_parse test for python3.11 (#88131) 2023-02-14 15:29:44 -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
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