diff --git a/.coveragerc b/.coveragerc index 6cf3f66d8af3..163065b7c2a1 100644 --- a/.coveragerc +++ b/.coveragerc @@ -707,7 +707,6 @@ omit = homeassistant/components/metoffice/sensor.py homeassistant/components/metoffice/weather.py homeassistant/components/microsoft/tts.py - homeassistant/components/miflora/sensor.py homeassistant/components/mikrotik/hub.py homeassistant/components/mill/climate.py homeassistant/components/mill/sensor.py diff --git a/CODEOWNERS b/CODEOWNERS index 01f486e27043..33ae9d167c2e 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -747,7 +747,6 @@ build.json @home-assistant/supervisor /tests/components/meteoclimatic/ @adrianmo /homeassistant/components/metoffice/ @MrHarcombe @avee87 /tests/components/metoffice/ @MrHarcombe @avee87 -/homeassistant/components/miflora/ @danielhiversen @basnijholt /homeassistant/components/mikrotik/ @engrbm87 /tests/components/mikrotik/ @engrbm87 /homeassistant/components/mill/ @danielhiversen diff --git a/homeassistant/components/miflora/__init__.py b/homeassistant/components/miflora/__init__.py deleted file mode 100644 index ed1569e1af06..000000000000 --- a/homeassistant/components/miflora/__init__.py +++ /dev/null @@ -1 +0,0 @@ -"""The miflora component.""" diff --git a/homeassistant/components/miflora/manifest.json b/homeassistant/components/miflora/manifest.json deleted file mode 100644 index 8a6e1843d863..000000000000 --- a/homeassistant/components/miflora/manifest.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "domain": "miflora", - "name": "Mi Flora", - "codeowners": ["@danielhiversen", "@basnijholt"], - "documentation": "https://www.home-assistant.io/integrations/miflora", - "iot_class": "local_polling", - "requirements": [] -} diff --git a/homeassistant/components/miflora/sensor.py b/homeassistant/components/miflora/sensor.py deleted file mode 100644 index 764e03786f80..000000000000 --- a/homeassistant/components/miflora/sensor.py +++ /dev/null @@ -1,29 +0,0 @@ -"""Support for Xiaomi Mi Flora BLE plant sensor.""" -from __future__ import annotations - -from homeassistant.components.sensor import PLATFORM_SCHEMA_BASE -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 - -PLATFORM_SCHEMA = PLATFORM_SCHEMA_BASE - - -async def async_setup_platform( - hass: HomeAssistant, - config: ConfigType, - async_add_entities: AddEntitiesCallback, - discovery_info: DiscoveryInfoType | None = None, -) -> None: - """Set up the MiFlora sensor.""" - async_create_issue( - hass, - "miflora", - "replaced", - breaks_in_ha_version="2022.8.0", - is_fixable=False, - severity=IssueSeverity.ERROR, - translation_key="replaced", - learn_more_url="https://www.home-assistant.io/integrations/xiaomi_ble/", - ) diff --git a/homeassistant/components/miflora/strings.json b/homeassistant/components/miflora/strings.json deleted file mode 100644 index 03427e88af99..000000000000 --- a/homeassistant/components/miflora/strings.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "issues": { - "replaced": { - "title": "The Mi Flora integration has been replaced", - "description": "The Mi Flora integration stopped working in Home Assistant 2022.7 and replaced by the Xiaomi BLE integration in the 2022.8 release.\n\nThere is no migration path possible, therefore, you have to add your Mi Flora device using the new integration manually.\n\nYour existing Mi Flora YAML configuration is no longer used by Home Assistant. Remove the YAML configuration from your configuration.yaml file and restart Home Assistant to fix this issue." - } - } -} diff --git a/homeassistant/generated/integrations.json b/homeassistant/generated/integrations.json index 1da6a6be9dae..4e892a2d499c 100644 --- a/homeassistant/generated/integrations.json +++ b/homeassistant/generated/integrations.json @@ -3353,12 +3353,6 @@ } } }, - "miflora": { - "name": "Mi Flora", - "integration_type": "hub", - "config_flow": false, - "iot_class": "local_polling" - }, "mijndomein_energie": { "name": "Mijndomein Energie", "integration_type": "virtual",