From be3b18cebf4f91b0a83b2a64f0eca3a7b8265bc5 Mon Sep 17 00:00:00 2001 From: G Johansson Date: Mon, 30 Sep 2024 20:27:53 +0000 Subject: [PATCH] Mod version --- homeassistant/components/light/__init__.py | 4 ++-- tests/components/light/test_init.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/light/__init__.py b/homeassistant/components/light/__init__.py index f01df3f4df2..21b9f99ff82 100644 --- a/homeassistant/components/light/__init__.py +++ b/homeassistant/components/light/__init__.py @@ -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): diff --git a/tests/components/light/test_init.py b/tests/components/light/test_init.py index 7a7ef865d9a..c35f0ddcaaf 100644 --- a/tests/components/light/test_init.py +++ b/tests/components/light/test_init.py @@ -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")