mirror of
https://github.com/esphome/esphome.git
synced 2026-02-08 00:31:58 +00:00
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: J. Nick Koston <nick@home-assistant.io>
9 lines
204 B
Python
9 lines
204 B
Python
"""Enum backports from standard lib."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from enum import StrEnum as _StrEnum
|
|
|
|
# Re-export StrEnum from standard library for backwards compatibility
|
|
StrEnum = _StrEnum
|