Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/morpheus2018/ha-17track-translate

Home Assistant Tamplate Markdown Übersetzung für 17TRACK Integration
https://github.com/morpheus2018/ha-17track-translate

17track api deepl deepl-api deepl-translation-api dhl ha home-assistant homeassistant integration markdown paket sendungsnummer seventeentrack tamplate track translation uebersetzung yaml yml

Last synced: 29 days ago
JSON representation

Home Assistant Tamplate Markdown Übersetzung für 17TRACK Integration

Awesome Lists containing this project

README

        

# HA-17TRACK-Translate

[Home Assistant](https://www.home-assistant.io/) Tamplate Markdown Paket Status Übersetzung für [17TRACK Integration](https://www.home-assistant.io/integrations/seventeentrack)

## Screenshot
![zugestellt](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/png/preview_2.gif)

* ##### [Markdown 1](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/markdown_1.yaml) Inhalt:
- [In Zustellung](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/markdown_1.yaml#L5)
- [Zugestellt](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/markdown_1.yaml#L41)
- [Paket zur Abholung Bereit](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/markdown_1.yaml#L62)
* ##### [Markdown 2](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/markdown_2.yaml) Inhalt:
- [Packet nicht gefunden](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/markdown_2.yaml#L5)
- [Abgelaufende Pakete](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/markdown_2.yaml#L27)
- [Paket nicht zugestellt](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/markdown_2.yaml#L47)
- [Pakete zurückgesendet](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/markdown_2.yaml#L70)

#### [Passe oder Ergänze weitere Ereignisse zu deiner Paketverfolgung](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/markdown_1.yaml#L33)
```
{% elif info_text == "Englisch"%}Überzetzung.
```

### [DeepL](https://www.deepl.com/)
##### Automatische Erkennung und Übersetzung.
#### Benötigt [DeepL API Free Konto](https://www.deepl.com/de/pro-api?cta=checkout-pro)
### [DeepL API Translation](https://github.com/Morpheus2018/HA-17TRACK-Translate/tree/main/deepl_api_translation)

* ##### [Packages](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/deepl_api_translation/deepl_translation_packages.yaml) Inhalt:
- [Seventeentrack HA Configuration](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/deepl_api_translation/deepl_translation_packages.yaml#L4)
- [Dropdown Ziel Sprachauswahl](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/deepl_api_translation/deepl_translation_packages.yaml#L10)
- [Automation](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/deepl_api_translation/deepl_translation_packages.yaml#L21)
- [Switch Update DeepL All Translation](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/deepl_api_translation/deepl_translation_packages.yaml#L97)
- [Sensor Rest POST DeepL](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/deepl_api_translation/deepl_translation_packages.yaml#L121)
- [Sensor Template](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/deepl_api_translation/deepl_translation_packages.yaml#L276)

* ##### [Markdown DeepL 1](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/deepl_api_translation/markdown_combi1.yaml) Inhalt:
- [Switch Update](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/deepl_api_translation/markdown_combi1.yaml#L10)
- [Ziel Sprache Auswahl](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/deepl_api_translation/markdown_combi1.yaml#L14)
- [In Zustellung](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/deepl_api_translation/markdown_combi1.yaml#L19)
- [Zugestellt](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/deepl_api_translation/markdown_combi1.yaml#L43)
- [Paket zur Abholung Bereit](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/deepl_api_translation/markdown_combi1.yaml#L66)

* ##### [Markdown DeepL 2](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/deepl_api_translation/markdown_combi2.yaml) Inhalt:
- [Packet nicht gefunden](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/deepl_api_translation/markdown_combi2.yaml#L5)
- [Abgelaufende Pakete](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/deepl_api_translation/markdown_combi2.yaml#L29)
- [Paket nicht zugestellt](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/deepl_api_translation/markdown_combi2.yaml#L60)
- [Pakete zurückgesendet](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/deepl_api_translation/markdown_combi2.yaml#L77)

##### Ersetze die [Authentifizierungsschlüssel](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/deepl_api_translation/deepl_translation_packages.yaml#L134) für die DeepL-API in secrets.yaml
```
Authorization: !secret deepl_apikey #Authentifizierungsschlüssel für die DeepL-API
```
### Custom
```
# Tracking-Link dhl.de öffnet Ihre DHL Sendungsnummer.
([{{ package.tracking_number }}](https://www.dhl.de/de/privatkunden/pakete-empfangen/verfolgen.html?piececode={{ package.tracking_number }}))

# Zeit Format 09.02.2023 10:20
am {{ as_timestamp(package.timestamp) | timestamp_custom('%d.%m.%Y %H:%M') }} Uhr.

am ['timestamp'].strftime('%d.%m.%Y %H:%M')

# Paket Status Farbwechsel
{% if states('sensor.seventeentrack_packages_in_transit') | int == 0 %}
## Keine Pakete in Zustellung{% else %}
## In Zustellung{% endif %}

# Ziel Sprache Auswahl
target_lang={{ states.input_select.language.state }}

input_select:
language:
name: Sprache
options:
- EN
- DE
- ES
- FR
initial: DE
icon: mdi:earth
```
![DeepL API Translation](https://github.com/Morpheus2018/HA-17TRACK-Translate/blob/main/png/deepl_api_translation.gif)