Skip to content

Commit

Permalink
Remove issue from skybell (#92602)
Browse files Browse the repository at this point in the history
Remove issue
  • Loading branch information
gjohansson-ST committed May 5, 2023
1 parent 6bbcf2f commit e597b3a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
20 changes: 0 additions & 20 deletions homeassistant/components/skybell/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
from homeassistant.core import HomeAssistant
from homeassistant.exceptions import ConfigEntryAuthFailed, ConfigEntryNotReady
from homeassistant.helpers.aiohttp_client import async_get_clientsession
from homeassistant.helpers.issue_registry import IssueSeverity, async_create_issue
from homeassistant.helpers.typing import ConfigType

from .const import DOMAIN
from .coordinator import SkybellDataUpdateCoordinator
Expand All @@ -26,24 +24,6 @@
]


async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
"""Set up the SkyBell component."""
hass.data.setdefault(DOMAIN, {})

if DOMAIN in config:
async_create_issue(
hass,
DOMAIN,
"removed_yaml",
breaks_in_ha_version="2022.9.0",
is_fixable=False,
severity=IssueSeverity.WARNING,
translation_key="removed_yaml",
)

return True


async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"""Set up Skybell from a config entry."""
email = entry.data[CONF_EMAIL]
Expand Down
6 changes: 0 additions & 6 deletions homeassistant/components/skybell/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,5 @@
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]",
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]"
}
},
"issues": {
"removed_yaml": {
"title": "The Skybell YAML configuration has been removed",
"description": "Configuring Skybell using YAML has been removed.\n\nYour existing YAML configuration is not used by Home Assistant.\n\nRemove the YAML configuration from your configuration.yaml file and restart Home Assistant to fix this issue."
}
}
}

0 comments on commit e597b3a

Please sign in to comment.