Remove repairs issue per PR review request (#79561)

pull/79570/head
Nathan Spencer 2022-10-03 19:17:47 -06:00 committed by GitHub
parent 2768b2445a
commit eda6f13f8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 17 deletions

View File

@ -6,8 +6,6 @@ from pylitterbot import FeederRobot, LitterRobot, LitterRobot3, Robot
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import Platform
from homeassistant.core import HomeAssistant
from homeassistant.helpers.issue_registry import IssueSeverity, async_create_issue
from homeassistant.helpers.typing import ConfigType
from .const import DOMAIN
from .hub import LitterRobotHub
@ -36,21 +34,6 @@ def get_platforms_for_robots(robots: list[Robot]) -> set[Platform]:
}
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
"""Set up the Litter-Robot integration."""
async_create_issue(
hass,
DOMAIN,
"migrated_attributes",
breaks_in_ha_version="2022.12.0",
is_fixable=False,
severity=IssueSeverity.WARNING,
translation_key="migrated_attributes",
)
return True
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"""Set up Litter-Robot from a config entry."""
hass.data.setdefault(DOMAIN, {})