1 """Issues utility for HTML5."""
8 from .const
import DOMAIN
10 _LOGGER = logging.getLogger(__name__)
12 SUCCESSFUL_IMPORT_TRANSLATION_KEY =
"deprecated_yaml"
13 FAILED_IMPORT_TRANSLATION_KEY =
"deprecated_yaml_import_issue"
15 INTEGRATION_TITLE =
"HTML5 Push Notifications"
20 """Create issues for HTML5."""
25 f
"deprecated_yaml_{DOMAIN}",
26 breaks_in_ha_version=
"2025.4.0",
29 severity=IssueSeverity.WARNING,
30 translation_key=
"deprecated_yaml",
31 translation_placeholders={
33 "integration_title": INTEGRATION_TITLE,
40 f
"deprecated_yaml_{DOMAIN}",
41 breaks_in_ha_version=
"2025.4.0",
44 severity=IssueSeverity.WARNING,
45 translation_key=
"deprecated_yaml_import_issue",
46 translation_placeholders={
48 "integration_title": INTEGRATION_TITLE,
None async_create_html5_issue(HomeAssistant hass, bool import_success)
None async_create_issue(HomeAssistant hass, str entry_id)