Remove miflora integration (#96868)

pull/88048/head^2
Franck Nijhof 2023-07-18 23:15:06 +02:00 committed by GitHub
parent fdb69efd67
commit 4fefbf0408
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 0 additions and 54 deletions

View File

@ -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

View File

@ -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

View File

@ -1 +0,0 @@
"""The miflora component."""

View File

@ -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": []
}

View File

@ -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/",
)

View File

@ -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."
}
}
}

View File

@ -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",