Mod version

This commit is contained in:
G Johansson 2024-09-30 20:27:53 +00:00
parent 1dff94e29c
commit be3b18cebf
2 changed files with 4 additions and 4 deletions

View File

@ -49,9 +49,9 @@ class LightState(StrEnum):
OFF = "off"
# The STATE_ON constant is deprecated as of Home Assistant 2024.10
# The STATE_ON constant is deprecated as of Home Assistant 2024.11
# Please use the LightState enum instead.
_DEPRECATED_STATE_ON = DeprecatedConstantEnum(LightState.ON, "2025.10")
_DEPRECATED_STATE_ON = DeprecatedConstantEnum(LightState.ON, "2025.11")
class LightEntityFeature(IntFlag):

View File

@ -2828,7 +2828,7 @@ def test_deprecated_stream_type_constants(
module: ModuleType,
) -> None:
"""Test deprecated stream type constants."""
import_and_test_deprecated_constant_enum(caplog, module, enum, "STATE_", "2025.10")
import_and_test_deprecated_constant_enum(caplog, module, enum, "STATE_", "2025.11")
@pytest.mark.parametrize(
@ -2845,4 +2845,4 @@ def test_deprecated_state_constants(
module: ModuleType,
) -> None:
"""Test deprecated stream type constants."""
import_and_test_deprecated_constant_enum(caplog, module, enum, "STATE_", "2025.10")
import_and_test_deprecated_constant_enum(caplog, module, enum, "STATE_", "2025.11")