From 85dcd4007cc022b759ddbc858a460e50179e4982 Mon Sep 17 00:00:00 2001 From: G Johansson Date: Fri, 5 May 2023 21:02:40 +0200 Subject: [PATCH] Remove yaml config issue from steam_online (#92592) Remove yaml config issue from steam --- .../components/steam_online/__init__.py | 18 ------------------ .../components/steam_online/strings.json | 6 ------ 2 files changed, 24 deletions(-) diff --git a/homeassistant/components/steam_online/__init__.py b/homeassistant/components/steam_online/__init__.py index 2b1b3223212..72f1cd2abb8 100644 --- a/homeassistant/components/steam_online/__init__.py +++ b/homeassistant/components/steam_online/__init__.py @@ -4,8 +4,6 @@ from __future__ import annotations 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 .coordinator import SteamDataUpdateCoordinator @@ -13,22 +11,6 @@ from .coordinator import SteamDataUpdateCoordinator PLATFORMS = [Platform.SENSOR] -async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: - """Set up the Steam integration.""" - if DOMAIN in config: - async_create_issue( - hass, - DOMAIN, - "removed_yaml", - breaks_in_ha_version="2022.8.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 Steam from a config entry.""" coordinator = SteamDataUpdateCoordinator(hass) diff --git a/homeassistant/components/steam_online/strings.json b/homeassistant/components/steam_online/strings.json index 63dc7cce22a..1b431795ea4 100644 --- a/homeassistant/components/steam_online/strings.json +++ b/homeassistant/components/steam_online/strings.json @@ -35,11 +35,5 @@ "error": { "unauthorized": "Friends list restricted: Please refer to the documentation on how to see all other friends" } - }, - "issues": { - "removed_yaml": { - "title": "The Steam YAML configuration has been removed", - "description": "Configuring Steam 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." - } } }