mirror of
https://github.com/home-assistant/core.git
synced 2026-07-02 04:06:41 +01:00
22 lines
635 B
Python
22 lines
635 B
Python
"""Issues for Duck DNS integration."""
|
|
|
|
from homeassistant.core import HomeAssistant
|
|
from homeassistant.helpers.issue_registry import IssueSeverity, async_create_issue
|
|
|
|
from .const import DOMAIN
|
|
|
|
|
|
def action_called_without_config_entry(hass: HomeAssistant) -> None:
|
|
"""Deprecate the use of action without config entry."""
|
|
|
|
async_create_issue(
|
|
hass,
|
|
DOMAIN,
|
|
"deprecated_call_without_config_entry",
|
|
breaks_in_ha_version="2026.9.0",
|
|
is_fixable=False,
|
|
issue_domain=DOMAIN,
|
|
severity=IssueSeverity.WARNING,
|
|
translation_key="deprecated_call_without_config_entry",
|
|
)
|