From 13da90da90dcf912040b914061245acb18f9be68 Mon Sep 17 00:00:00 2001 From: G Johansson Date: Tue, 6 Jun 2023 08:25:59 +0200 Subject: [PATCH] Remove left-over issue from platform YAML in Radarr (#94091) --- homeassistant/components/radarr/sensor.py | 20 -------------------- homeassistant/components/radarr/strings.json | 6 ------ 2 files changed, 26 deletions(-) diff --git a/homeassistant/components/radarr/sensor.py b/homeassistant/components/radarr/sensor.py index 0ed64ce3035..64e5356aeb3 100644 --- a/homeassistant/components/radarr/sensor.py +++ b/homeassistant/components/radarr/sensor.py @@ -18,8 +18,6 @@ from homeassistant.config_entries import ConfigEntry from homeassistant.const import EntityCategory, UnitOfInformation from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddEntitiesCallback -from homeassistant.helpers.issue_registry import IssueSeverity, async_create_issue -from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType from . import RadarrEntity from .const import DOMAIN @@ -104,24 +102,6 @@ BYTE_SIZES = [ PARALLEL_UPDATES = 1 -async def async_setup_platform( - hass: HomeAssistant, - config: ConfigType, - async_add_entities: AddEntitiesCallback, - discovery_info: DiscoveryInfoType | None = None, -) -> None: - """Set up the Radarr platform.""" - async_create_issue( - hass, - DOMAIN, - "removed_yaml", - breaks_in_ha_version="2022.12.0", - is_fixable=False, - severity=IssueSeverity.WARNING, - translation_key="removed_yaml", - ) - - async def async_setup_entry( hass: HomeAssistant, entry: ConfigEntry, diff --git a/homeassistant/components/radarr/strings.json b/homeassistant/components/radarr/strings.json index 299dd0a56b0..6b014b95d5e 100644 --- a/homeassistant/components/radarr/strings.json +++ b/homeassistant/components/radarr/strings.json @@ -34,11 +34,5 @@ } } } - }, - "issues": { - "removed_yaml": { - "title": "The Radarr YAML configuration has been removed", - "description": "Configuring Radarr 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." - } } }