This commit is contained in:
Paulus Schoutsen 2024-02-27 13:23:44 -05:00 committed by GitHub
commit bc47c80bbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 7 additions and 6 deletions

View File

@ -828,6 +828,7 @@ class ConfigEntry:
issue_domain=self.domain,
severity=ir.IssueSeverity.ERROR,
translation_key="config_entry_reauth",
translation_placeholders={"name": self.title},
)
@callback

View File

@ -16,7 +16,7 @@ from .helpers.deprecation import (
APPLICATION_NAME: Final = "HomeAssistant"
MAJOR_VERSION: Final = 2024
MINOR_VERSION: Final = 2
PATCH_VERSION: Final = "4"
PATCH_VERSION: Final = "5"
__short_version__: Final = f"{MAJOR_VERSION}.{MINOR_VERSION}"
__version__: Final = f"{__short_version__}.{PATCH_VERSION}"
REQUIRED_PYTHON_VER: Final[tuple[int, int, int]] = (3, 11, 0)

View File

@ -68,7 +68,7 @@
"config_flow": {
"title": {
"oauth2_pick_implementation": "Pick authentication method",
"reauth": "Reauthenticate integration",
"reauth": "Authentication expired for {name}",
"via_hassio_addon": "{name} via Home Assistant add-on"
},
"description": {

View File

@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "homeassistant"
version = "2024.2.4"
version = "2024.2.5"
license = {text = "Apache-2.0"}
description = "Open-source home automation platform running on Python 3."
readme = "README.rst"

View File

@ -205,7 +205,7 @@ async def test_issues_created(
"learn_more_url": None,
"severity": "error",
"translation_key": "config_entry_reauth",
"translation_placeholders": None,
"translation_placeholders": {"name": "Kitchen Sink"},
"ignored": False,
},
]
@ -322,7 +322,7 @@ async def test_issues_created(
"learn_more_url": None,
"severity": "error",
"translation_key": "config_entry_reauth",
"translation_placeholders": None,
"translation_placeholders": {"name": "Kitchen Sink"},
"ignored": False,
},
]

View File

@ -963,7 +963,7 @@ async def test_reauth_issue(hass: HomeAssistant) -> None:
learn_more_url=None,
severity=ir.IssueSeverity.ERROR,
translation_key="config_entry_reauth",
translation_placeholders=None,
translation_placeholders={"name": "test_title"},
)
result = await hass.config_entries.flow.async_configure(issue.data["flow_id"], {})