diff --git a/.coveragerc b/.coveragerc index d0b4f2fe3f8..9b04098f721 100644 --- a/.coveragerc +++ b/.coveragerc @@ -226,7 +226,6 @@ omit = homeassistant/components/denonavr/__init__.py homeassistant/components/denonavr/media_player.py homeassistant/components/denonavr/receiver.py - homeassistant/components/deutsche_bahn/sensor.py homeassistant/components/devolo_home_control/switch.py homeassistant/components/digital_ocean/* homeassistant/components/discogs/sensor.py diff --git a/homeassistant/components/deutsche_bahn/__init__.py b/homeassistant/components/deutsche_bahn/__init__.py deleted file mode 100644 index 0b696174fd5..00000000000 --- a/homeassistant/components/deutsche_bahn/__init__.py +++ /dev/null @@ -1 +0,0 @@ -"""The deutsche_bahn component.""" diff --git a/homeassistant/components/deutsche_bahn/manifest.json b/homeassistant/components/deutsche_bahn/manifest.json deleted file mode 100644 index 1eeb2241db5..00000000000 --- a/homeassistant/components/deutsche_bahn/manifest.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "domain": "deutsche_bahn", - "name": "Deutsche Bahn", - "documentation": "https://www.home-assistant.io/integrations/deutsche_bahn", - "requirements": ["schiene==0.23"], - "codeowners": [], - "iot_class": "cloud_polling", - "loggers": ["schiene"] -} diff --git a/homeassistant/components/deutsche_bahn/sensor.py b/homeassistant/components/deutsche_bahn/sensor.py deleted file mode 100644 index 8a563574f46..00000000000 --- a/homeassistant/components/deutsche_bahn/sensor.py +++ /dev/null @@ -1,141 +0,0 @@ -"""Support for information about the German train system.""" -from __future__ import annotations - -from datetime import timedelta -import logging - -import schiene -import voluptuous as vol - -from homeassistant.components.sensor import PLATFORM_SCHEMA, SensorEntity -from homeassistant.const import CONF_OFFSET -from homeassistant.core import HomeAssistant -import homeassistant.helpers.config_validation as cv -from homeassistant.helpers.entity_platform import AddEntitiesCallback -from homeassistant.helpers.issue_registry import IssueSeverity, create_issue -from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType -import homeassistant.util.dt as dt_util - -CONF_DESTINATION = "to" -CONF_START = "from" -DEFAULT_OFFSET = timedelta(minutes=0) -CONF_ONLY_DIRECT = "only_direct" -DEFAULT_ONLY_DIRECT = False - -ICON = "mdi:train" - -SCAN_INTERVAL = timedelta(minutes=2) - -PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend( - { - vol.Required(CONF_DESTINATION): cv.string, - vol.Required(CONF_START): cv.string, - vol.Optional(CONF_OFFSET, default=DEFAULT_OFFSET): cv.time_period, - vol.Optional(CONF_ONLY_DIRECT, default=DEFAULT_ONLY_DIRECT): cv.boolean, - } -) - -_LOGGER = logging.getLogger(__name__) - - -def setup_platform( - hass: HomeAssistant, - config: ConfigType, - add_entities: AddEntitiesCallback, - discovery_info: DiscoveryInfoType | None = None, -) -> None: - """Set up the Deutsche Bahn Sensor.""" - start = config.get(CONF_START) - destination = config[CONF_DESTINATION] - offset = config[CONF_OFFSET] - only_direct = config[CONF_ONLY_DIRECT] - create_issue( - hass, - "deutsche_bahn", - "pending_removal", - breaks_in_ha_version="2022.11.0", - is_fixable=False, - severity=IssueSeverity.WARNING, - translation_key="pending_removal", - ) - _LOGGER.warning( - "The Deutsche Bahn sensor component is deprecated and will be removed in Home Assistant 2022.11" - ) - add_entities([DeutscheBahnSensor(start, destination, offset, only_direct)], True) - - -class DeutscheBahnSensor(SensorEntity): - """Implementation of a Deutsche Bahn sensor.""" - - def __init__(self, start, goal, offset, only_direct): - """Initialize the sensor.""" - self._name = f"{start} to {goal}" - self.data = SchieneData(start, goal, offset, only_direct) - self._state = None - - @property - def name(self): - """Return the name of the sensor.""" - return self._name - - @property - def icon(self): - """Return the icon for the frontend.""" - return ICON - - @property - def native_value(self): - """Return the departure time of the next train.""" - return self._state - - @property - def extra_state_attributes(self): - """Return the state attributes.""" - connections = self.data.connections[0] - if len(self.data.connections) > 1: - connections["next"] = self.data.connections[1]["departure"] - if len(self.data.connections) > 2: - connections["next_on"] = self.data.connections[2]["departure"] - return connections - - def update(self) -> None: - """Get the latest delay from bahn.de and updates the state.""" - self.data.update() - self._state = self.data.connections[0].get("departure", "Unknown") - if self.data.connections[0].get("delay", 0) != 0: - self._state += f" + {self.data.connections[0]['delay']}" - - -class SchieneData: - """Pull data from the bahn.de web page.""" - - def __init__(self, start, goal, offset, only_direct): - """Initialize the sensor.""" - self.start = start - self.goal = goal - self.offset = offset - self.only_direct = only_direct - self.schiene = schiene.Schiene() - self.connections = [{}] - - def update(self): - """Update the connection data.""" - self.connections = self.schiene.connections( - self.start, - self.goal, - dt_util.as_local(dt_util.utcnow() + self.offset), - self.only_direct, - ) - - if not self.connections: - self.connections = [{}] - - for con in self.connections: - # Detail info is not useful. Having a more consistent interface - # simplifies usage of template sensors. - if "details" in con: - con.pop("details") - delay = con.get("delay", {"delay_departure": 0, "delay_arrival": 0}) - con["delay"] = delay["delay_departure"] - con["delay_arrival"] = delay["delay_arrival"] - con["ontime"] = con.get("ontime", False) diff --git a/homeassistant/components/deutsche_bahn/strings.json b/homeassistant/components/deutsche_bahn/strings.json deleted file mode 100644 index c88668862da..00000000000 --- a/homeassistant/components/deutsche_bahn/strings.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "issues": { - "pending_removal": { - "title": "The Deutsche Bahn integration is being removed", - "description": "The Deutsche Bahn integration is pending removal from Home Assistant and will no longer be available as of Home Assistant 2022.11.\n\nThe integration is being removed, because it relies on webscraping, which is not allowed.\n\nRemove the Deutsche Bahn YAML configuration from your configuration.yaml file and restart Home Assistant to fix this issue." - } - } -} diff --git a/homeassistant/components/deutsche_bahn/translations/bg.json b/homeassistant/components/deutsche_bahn/translations/bg.json deleted file mode 100644 index 84d8d17f23a..00000000000 --- a/homeassistant/components/deutsche_bahn/translations/bg.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "issues": { - "pending_removal": { - "title": "\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f\u0442\u0430 \u043d\u0430 Deutsche Bahn \u0441\u0435 \u043f\u0440\u0435\u043c\u0430\u0445\u0432\u0430" - } - } -} \ No newline at end of file diff --git a/homeassistant/components/deutsche_bahn/translations/ca.json b/homeassistant/components/deutsche_bahn/translations/ca.json deleted file mode 100644 index 406d134c92f..00000000000 --- a/homeassistant/components/deutsche_bahn/translations/ca.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "issues": { - "pending_removal": { - "description": "La integraci\u00f3 de Deutsche Bahn est\u00e0 pendent d'eliminar-se de Home Assistant i ja no estar\u00e0 disponible a partir de Home Assistant 2022.11. \n\nLa integraci\u00f3 s'est\u00e0 eliminant, perqu\u00e8 es basa en el 'webscraping', que no est\u00e0 adm\u00e8s. \n\nElimina la configuraci\u00f3 YAML de Deutsche Bahn del fitxer configuration.yaml i reinicia Home Assistant per arreglar aquest error.", - "title": "La integraci\u00f3 Deutsche Bahn est\u00e0 sent eliminada" - } - } -} \ No newline at end of file diff --git a/homeassistant/components/deutsche_bahn/translations/de.json b/homeassistant/components/deutsche_bahn/translations/de.json deleted file mode 100644 index 986aebfa7a6..00000000000 --- a/homeassistant/components/deutsche_bahn/translations/de.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "issues": { - "pending_removal": { - "description": "Die Deutsche Bahn-Integration wird derzeit aus Home Assistant entfernt und wird ab Home Assistant 2022.11 nicht mehr verf\u00fcgbar sein.\n\nDie Integration wird entfernt, weil sie auf Webscraping beruht, was nicht erlaubt ist.\n\nEntferne die YAML-Konfiguration der Deutschen Bahn aus deiner configuration.yaml-Datei und starte Home Assistant neu, um dieses Problem zu beheben.", - "title": "Die Deutsche-Bahn-Integration wird entfernt" - } - } -} \ No newline at end of file diff --git a/homeassistant/components/deutsche_bahn/translations/el.json b/homeassistant/components/deutsche_bahn/translations/el.json deleted file mode 100644 index cc1cd6eb001..00000000000 --- a/homeassistant/components/deutsche_bahn/translations/el.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "issues": { - "pending_removal": { - "description": "\u0397 \u03b5\u03bd\u03c3\u03c9\u03bc\u03ac\u03c4\u03c9\u03c3\u03b7 \u03c4\u03b7\u03c2 Deutsche Bahn \u03b5\u03ba\u03ba\u03c1\u03b5\u03bc\u03b5\u03af \u03c0\u03c1\u03bf\u03c2 \u03b1\u03c6\u03b1\u03af\u03c1\u03b5\u03c3\u03b7 \u03b1\u03c0\u03cc \u03c4\u03bf Home Assistant \u03ba\u03b1\u03b9 \u03b4\u03b5\u03bd \u03b8\u03b1 \u03b5\u03af\u03bd\u03b1\u03b9 \u03c0\u03bb\u03ad\u03bf\u03bd \u03b4\u03b9\u03b1\u03b8\u03ad\u03c3\u03b9\u03bc\u03b7 \u03b1\u03c0\u03cc \u03c4\u03bf Home Assistant 2022.11.\n\n\u0397 \u03b5\u03bd\u03c3\u03c9\u03bc\u03ac\u03c4\u03c9\u03c3\u03b7 \u03b1\u03c6\u03b1\u03b9\u03c1\u03b5\u03af\u03c4\u03b1\u03b9, \u03b5\u03c0\u03b5\u03b9\u03b4\u03ae \u03b2\u03b1\u03c3\u03af\u03b6\u03b5\u03c4\u03b1\u03b9 \u03c3\u03b5 webscraping, \u03c4\u03bf \u03bf\u03c0\u03bf\u03af\u03bf \u03b4\u03b5\u03bd \u03b5\u03c0\u03b9\u03c4\u03c1\u03ad\u03c0\u03b5\u03c4\u03b1\u03b9.\n\n\u0391\u03c6\u03b1\u03b9\u03c1\u03ad\u03c3\u03c4\u03b5 \u03c4\u03b7 \u03c1\u03cd\u03b8\u03bc\u03b9\u03c3\u03b7 \u03c0\u03b1\u03c1\u03b1\u03bc\u03ad\u03c4\u03c1\u03c9\u03bd YAML \u03c4\u03b7\u03c2 Deutsche Bahn \u03b1\u03c0\u03cc \u03c4\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf configuration.yaml \u03ba\u03b1\u03b9 \u03b5\u03c0\u03b1\u03bd\u03b5\u03ba\u03ba\u03b9\u03bd\u03ae\u03c3\u03c4\u03b5 \u03c4\u03bf Home Assistant \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b4\u03b9\u03bf\u03c1\u03b8\u03ce\u03c3\u03b5\u03c4\u03b5 \u03b1\u03c5\u03c4\u03cc \u03c4\u03bf \u03c0\u03c1\u03cc\u03b2\u03bb\u03b7\u03bc\u03b1.", - "title": "\u0397 \u03b5\u03bd\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03c4\u03b7\u03c2 Deutsche Bahn \u03ba\u03b1\u03c4\u03b1\u03c1\u03b3\u03b5\u03af\u03c4\u03b1\u03b9" - } - } -} \ No newline at end of file diff --git a/homeassistant/components/deutsche_bahn/translations/en.json b/homeassistant/components/deutsche_bahn/translations/en.json deleted file mode 100644 index 0ad1f14d1cc..00000000000 --- a/homeassistant/components/deutsche_bahn/translations/en.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "issues": { - "pending_removal": { - "description": "The Deutsche Bahn integration is pending removal from Home Assistant and will no longer be available as of Home Assistant 2022.11.\n\nThe integration is being removed, because it relies on webscraping, which is not allowed.\n\nRemove the Deutsche Bahn YAML configuration from your configuration.yaml file and restart Home Assistant to fix this issue.", - "title": "The Deutsche Bahn integration is being removed" - } - } -} \ No newline at end of file diff --git a/homeassistant/components/deutsche_bahn/translations/es.json b/homeassistant/components/deutsche_bahn/translations/es.json deleted file mode 100644 index 6d8b849c11b..00000000000 --- a/homeassistant/components/deutsche_bahn/translations/es.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "issues": { - "pending_removal": { - "description": "La integraci\u00f3n Deutsche Bahn est\u00e1 pendiente de eliminaci\u00f3n de Home Assistant y ya no estar\u00e1 disponible a partir de Home Assistant 2022.11. \n\nSe va a eliminar la integraci\u00f3n porque se basa en webscraping, algo que no est\u00e1 permitido. \n\nElimina la configuraci\u00f3n YAML de Deutsche Bahn de tu archivo configuration.yaml y reinicia Home Assistant para solucionar este problema.", - "title": "Se va a eliminar la integraci\u00f3n Deutsche Bahn" - } - } -} \ No newline at end of file diff --git a/homeassistant/components/deutsche_bahn/translations/et.json b/homeassistant/components/deutsche_bahn/translations/et.json deleted file mode 100644 index a6029593a7b..00000000000 --- a/homeassistant/components/deutsche_bahn/translations/et.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "issues": { - "pending_removal": { - "description": "Deutsche Bahni integratsioon on Home Assistantist eemaldamisel ja see ei ole enam saadaval alates Home Assistant 2022.11.\n\nIntegratsioon eemaldatakse, sest see p\u00f5hineb veebiotsingul, mis on keelatud.\n\nProbleemi lahendamiseks eemaldage Deutsche Bahni YAML-konfiguratsioon oma configuration.yaml-failist ja k\u00e4ivitage Home Assistant uuesti.", - "title": "Deutsche Bahni integratsioon eemaldatakse" - } - } -} \ No newline at end of file diff --git a/homeassistant/components/deutsche_bahn/translations/fr.json b/homeassistant/components/deutsche_bahn/translations/fr.json deleted file mode 100644 index a3e3b26fa78..00000000000 --- a/homeassistant/components/deutsche_bahn/translations/fr.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "issues": { - "pending_removal": { - "title": "L'int\u00e9gration Deutsche Bahn est en cours de suppression" - } - } -} \ No newline at end of file diff --git a/homeassistant/components/deutsche_bahn/translations/hu.json b/homeassistant/components/deutsche_bahn/translations/hu.json deleted file mode 100644 index 5b1bf7e95e6..00000000000 --- a/homeassistant/components/deutsche_bahn/translations/hu.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "issues": { - "pending_removal": { - "description": "A Deutsche Bahn integr\u00e1ci\u00f3 elt\u00e1vol\u00edt\u00e1sra v\u00e1r a Home Assistantb\u00f3l, \u00e9s a 2022.11-es Home Assistant-t\u00f3l m\u00e1r nem lesz el\u00e9rhet\u0151.\n\nAz integr\u00e1ci\u00f3 elt\u00e1vol\u00edt\u00e1sra ker\u00fcl, mivel webscrapingre t\u00e1maszkodik, ami nem megengedett.\n\nA probl\u00e9ma megold\u00e1s\u00e1hoz t\u00e1vol\u00edtsa el a Deutsche Bahn YAML konfigur\u00e1ci\u00f3t a configuration.yaml f\u00e1jlb\u00f3l, \u00e9s ind\u00edtsa \u00fajra a Home Assistantot.", - "title": "A Deutsche Bahn integr\u00e1ci\u00f3 megsz\u00fcnik" - } - } -} \ No newline at end of file diff --git a/homeassistant/components/deutsche_bahn/translations/id.json b/homeassistant/components/deutsche_bahn/translations/id.json deleted file mode 100644 index 2bd68daf49e..00000000000 --- a/homeassistant/components/deutsche_bahn/translations/id.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "issues": { - "pending_removal": { - "description": "Integrasi Deutsche Bahn sedang menunggu penghapusan dari Home Assistant dan tidak akan lagi tersedia pada Home Assistant 2022.11.\n\nIntegrasi ini dalam proses penghapusan, karena bergantung pada proses webscraping, yang tidak diizinkan.\n\nHapus konfigurasi Deutsche Bahn YAML dari file configuration.yaml Anda dan mulai ulang Home Assistant untuk memperbaiki masalah ini.", - "title": "Integrasi Deutsche Bahn dalam proses penghapusan" - } - } -} \ No newline at end of file diff --git a/homeassistant/components/deutsche_bahn/translations/it.json b/homeassistant/components/deutsche_bahn/translations/it.json deleted file mode 100644 index 22449ef7a17..00000000000 --- a/homeassistant/components/deutsche_bahn/translations/it.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "issues": { - "pending_removal": { - "description": "L'integrazione Deutsce Bahn \u00e8 in attesa di rimozione da Home Assistant e non sar\u00e0 pi\u00f9 disponibile a partire da Home Assistant 2022.11. \n\nL'integrazione sar\u00e0 rimossa, perch\u00e9 si basa sul webscraping, che non \u00e8 consentito. \n\nRimuovi la configurazione YAML di Deutsce Bahn dal file configuration.yaml e riavvia Home Assistant per risolvere questo problema.", - "title": "L'integrazione Deutsche Bahn sar\u00e0 rimossa" - } - } -} \ No newline at end of file diff --git a/homeassistant/components/deutsche_bahn/translations/ja.json b/homeassistant/components/deutsche_bahn/translations/ja.json deleted file mode 100644 index b76158e0b22..00000000000 --- a/homeassistant/components/deutsche_bahn/translations/ja.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "issues": { - "pending_removal": { - "description": "Deutsche Bahn(\u30c9\u30a4\u30c4\u9244\u9053)\u306e\u7d71\u5408\u306f\u3001Home Assistant\u304b\u3089\u306e\u524a\u9664\u306f\u4fdd\u7559\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001Home Assistant 2022.11\u4ee5\u964d\u306f\u5229\u7528\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002 \n\n\u3053\u306e\u7d71\u5408\u306f\u3001\u8a31\u53ef\u3055\u308c\u3066\u3044\u306a\u3044Web\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u306b\u4f9d\u5b58\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u524a\u9664\u3055\u308c\u308b\u4e88\u5b9a\u3067\u3059\u3002\n\n\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u306b\u306f\u3001configuration.yaml\u30d5\u30a1\u30a4\u30eb\u304b\u3089Deutsche Bahn YAML\u8a2d\u5b9a\u3092\u524a\u9664\u3057\u3001Home Assistant\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002", - "title": "\u30c9\u30a4\u30c4\u9244\u9053(Deutsche Bahn)\u306e\u7d71\u5408\u306f\u524a\u9664\u3055\u308c\u3066\u3044\u307e\u3059" - } - } -} \ No newline at end of file diff --git a/homeassistant/components/deutsche_bahn/translations/nl.json b/homeassistant/components/deutsche_bahn/translations/nl.json deleted file mode 100644 index 6aabd5b3a6d..00000000000 --- a/homeassistant/components/deutsche_bahn/translations/nl.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "issues": { - "pending_removal": { - "title": "De Deutsche Bahn-integratie wordt verwijderd" - } - } -} \ No newline at end of file diff --git a/homeassistant/components/deutsche_bahn/translations/no.json b/homeassistant/components/deutsche_bahn/translations/no.json deleted file mode 100644 index 5852c5b716c..00000000000 --- a/homeassistant/components/deutsche_bahn/translations/no.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "issues": { - "pending_removal": { - "description": "Deutsche Bahn-integrasjonen venter p\u00e5 fjerning fra Home Assistant og vil ikke lenger v\u00e6re tilgjengelig fra og med Home Assistant 2022.11. \n\n Integrasjonen blir fjernet, fordi den er avhengig av webscraping, noe som ikke er tillatt. \n\n Fjern Deutsche Bahn YAML-konfigurasjonen fra configuration.yaml-filen og start Home Assistant p\u00e5 nytt for \u00e5 fikse dette problemet.", - "title": "Deutsche Bahn-integrasjonen fjernes" - } - } -} \ No newline at end of file diff --git a/homeassistant/components/deutsche_bahn/translations/pl.json b/homeassistant/components/deutsche_bahn/translations/pl.json deleted file mode 100644 index 85cf97d0d17..00000000000 --- a/homeassistant/components/deutsche_bahn/translations/pl.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "issues": { - "pending_removal": { - "description": "Integracja Deutsche Bahn oczekuje na usuni\u0119cie z Home Assistanta i nie b\u0119dzie ju\u017c dost\u0119pna od Home Assistant 2022.11. \n\nIntegracja jest usuwana, poniewa\u017c opiera si\u0119 na webscrapingu, co jest niedozwolone. \n\nUsu\u0144 konfiguracj\u0119 YAML z pliku configuration.yaml i uruchom ponownie Home Assistanta, aby rozwi\u0105za\u0107 ten problem.", - "title": "Integracja Deutsche Bahn zostanie usuni\u0119ta" - } - } -} \ No newline at end of file diff --git a/homeassistant/components/deutsche_bahn/translations/pt-BR.json b/homeassistant/components/deutsche_bahn/translations/pt-BR.json deleted file mode 100644 index abf4f29a0e5..00000000000 --- a/homeassistant/components/deutsche_bahn/translations/pt-BR.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "issues": { - "pending_removal": { - "description": "A integra\u00e7\u00e3o da Deutsche Bahn est\u00e1 com remo\u00e7\u00e3o pendente do Home Assistant e n\u00e3o estar\u00e1 mais dispon\u00edvel a partir do Home Assistant 2022.11. \n\n A integra\u00e7\u00e3o est\u00e1 sendo removida, pois depende de webscraping, o que n\u00e3o \u00e9 permitido. \n\n Remova a configura\u00e7\u00e3o YAML da Deutsche Bahn do arquivo configuration.yaml e reinicie o Home Assistant para corrigir esse problema.", - "title": "A integra\u00e7\u00e3o da Deutsche Bahn est\u00e1 sendo removida" - } - } -} \ No newline at end of file diff --git a/homeassistant/components/deutsche_bahn/translations/ru.json b/homeassistant/components/deutsche_bahn/translations/ru.json deleted file mode 100644 index b5fe6857a73..00000000000 --- a/homeassistant/components/deutsche_bahn/translations/ru.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "issues": { - "pending_removal": { - "description": "\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f Deutsche Bahn \u043e\u0436\u0438\u0434\u0430\u0435\u0442 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \u0438\u0437 Home Assistant \u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0441 Home Assistant \u0432\u0435\u0440\u0441\u0438\u0438 2022.11. \n\n\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0443\u0434\u0430\u043b\u0435\u043d\u0430, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043e\u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 \u0432\u0435\u0431-\u0441\u043a\u0440\u0430\u043f\u0438\u043d\u0433\u0435, \u0447\u0442\u043e \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u043e. \n\n\u0423\u0434\u0430\u043b\u0438\u0442\u0435 YAML-\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 configuration.yaml \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 Home Assistant, \u0447\u0442\u043e\u0431\u044b \u0443\u0441\u0442\u0440\u0430\u043d\u0438\u0442\u044c \u044d\u0442\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443.", - "title": "\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f Deutsche Bahn \u0431\u0443\u0434\u0435\u0442 \u0443\u0434\u0430\u043b\u0435\u043d\u0430" - } - } -} \ No newline at end of file diff --git a/homeassistant/components/deutsche_bahn/translations/sk.json b/homeassistant/components/deutsche_bahn/translations/sk.json deleted file mode 100644 index b6b2ac07f3e..00000000000 --- a/homeassistant/components/deutsche_bahn/translations/sk.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "issues": { - "pending_removal": { - "description": "Integr\u00e1cia Deutsche Bahn \u010dak\u00e1 na odstr\u00e1nenie z Home Assistant a od Home Assistant 2022.11 u\u017e nebude k dispoz\u00edcii. \n\n Integr\u00e1cia sa odstra\u0148uje, preto\u017ee sa spolieha na webscraping, ktor\u00fd nie je povolen\u00fd. \n\n Odstr\u00e1\u0148te konfigur\u00e1ciu Deutsche Bahn YAML zo s\u00faboru configuration.yaml a re\u0161tartujte Home Assistant, aby ste tento probl\u00e9m vyrie\u0161ili.", - "title": "Integr\u00e1cia Deutsche Bahn sa odstra\u0148uje" - } - } -} \ No newline at end of file diff --git a/homeassistant/components/deutsche_bahn/translations/sv.json b/homeassistant/components/deutsche_bahn/translations/sv.json deleted file mode 100644 index 7595e8bed60..00000000000 --- a/homeassistant/components/deutsche_bahn/translations/sv.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "issues": { - "pending_removal": { - "description": "Deutsche Bahn-integrationen v\u00e4ntar p\u00e5 borttagning fr\u00e5n Home Assistant och kommer inte l\u00e4ngre att vara tillg\u00e4nglig fr\u00e5n och med Home Assistant 2022.11. \n\n Integrationen tas bort, eftersom den f\u00f6rlitar sig p\u00e5 webbskrapning, vilket inte \u00e4r till\u00e5tet. \n\n Ta bort Deutsche Bahn YAML-konfigurationen fr\u00e5n filen configuration.yaml och starta om Home Assistant f\u00f6r att \u00e5tg\u00e4rda problemet.", - "title": "Deutsche Bahn-integrationen tas bort" - } - } -} \ No newline at end of file diff --git a/homeassistant/components/deutsche_bahn/translations/tr.json b/homeassistant/components/deutsche_bahn/translations/tr.json deleted file mode 100644 index 1aeda9c4d18..00000000000 --- a/homeassistant/components/deutsche_bahn/translations/tr.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "issues": { - "pending_removal": { - "description": "Deutsche Bahn entegrasyonu, Home Assistant'tan kald\u0131r\u0131lmay\u0131 bekliyor ve Home Assistant 2022.11'den itibaren art\u0131k kullan\u0131lamayacak. \n\n Entegrasyon kald\u0131r\u0131l\u0131yor, \u00e7\u00fcnk\u00fc izin verilmeyen web taramaya dayan\u0131yor. \n\n Deutsche Bahn YAML yap\u0131land\u0131rmas\u0131n\u0131 configuration.yaml dosyan\u0131zdan kald\u0131r\u0131n ve bu sorunu gidermek i\u00e7in Home Assistant'\u0131 yeniden ba\u015flat\u0131n.", - "title": "Deutsche Bahn entegrasyonu kald\u0131r\u0131l\u0131yor" - } - } -} \ No newline at end of file diff --git a/homeassistant/components/deutsche_bahn/translations/zh-Hant.json b/homeassistant/components/deutsche_bahn/translations/zh-Hant.json deleted file mode 100644 index fd60b2ae7fb..00000000000 --- a/homeassistant/components/deutsche_bahn/translations/zh-Hant.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "issues": { - "pending_removal": { - "description": "Deutsche Bahn \u6574\u5408\u5373\u5c07\u7531 Home Assistant \u4e2d\u79fb\u9664\u3001\u4e26\u65bc Home Assistant 2022.11 \u7248\u5f8c\u7121\u6cd5\u518d\u4f7f\u7528\u3002\n\n\u7531\u65bc\u4f7f\u7528\u4e86\u4e0d\u88ab\u5141\u8a31\u7684\u7db2\u8def\u8cc7\u6599\u64f7\u53d6\uff08webscraping\uff09\u65b9\u5f0f\u3001\u6574\u5408\u5373\u5c07\u79fb\u9664\u3002\n\n\u7531 configuration.yaml \u6a94\u6848\u4e2d\u79fb\u9664 Deutsche Bahn YAML \u8a2d\u5b9a\u4e26\u91cd\u555f Home Assistant to \u4ee5\u4fee\u6b63\u6b64\u554f\u984c\u3002", - "title": "Deutsche Bahn \u6574\u5408\u5373\u5c07\u79fb\u9664" - } - } -} \ No newline at end of file diff --git a/homeassistant/generated/integrations.json b/homeassistant/generated/integrations.json index b651957c500..1d5c17c943c 100644 --- a/homeassistant/generated/integrations.json +++ b/homeassistant/generated/integrations.json @@ -1003,12 +1003,6 @@ } } }, - "deutsche_bahn": { - "name": "Deutsche Bahn", - "integration_type": "hub", - "config_flow": false, - "iot_class": "cloud_polling" - }, "device_sun_light_trigger": { "name": "Presence-based Lights", "integration_type": "hub", diff --git a/requirements_all.txt b/requirements_all.txt index 3b8f3dbb8c7..ebc4dd97afc 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2252,9 +2252,6 @@ satel_integra==0.3.7 # homeassistant.components.dhcp scapy==2.4.5 -# homeassistant.components.deutsche_bahn -schiene==0.23 - # homeassistant.components.screenlogic screenlogicpy==0.5.4