Migrate backported StrEnum to built-in StrEnum (#97101)

This commit is contained in:
Franck Nijhof
2023-07-23 23:19:24 +02:00
committed by GitHub
parent 38e3e20f74
commit 30058297cf
64 changed files with 84 additions and 151 deletions

View File

@@ -1,6 +1,7 @@
"""Recorder constants."""
from homeassistant.backports.enum import StrEnum
from enum import StrEnum
from homeassistant.const import ATTR_ATTRIBUTION, ATTR_RESTORED, ATTR_SUPPORTED_FEATURES
from homeassistant.helpers.json import ( # noqa: F401 pylint: disable=unused-import
JSON_DUMP,