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,7 +1,5 @@
"""Provides the constants needed for component."""
from enum import IntFlag
from homeassistant.backports.enum import StrEnum
from enum import IntFlag, StrEnum
# How long our auth signature on the content should be valid for
CONTENT_AUTH_EXPIRY_TIME = 3600 * 24