Skip to content

Commit

Permalink
Merge branch 'main' into bump-home-assistant-version
Browse files Browse the repository at this point in the history
  • Loading branch information
MTrab committed Feb 21, 2024
2 parents 3f0739b + 827baad commit a7dea3a
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 22 deletions.
9 changes: 2 additions & 7 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,9 @@ categories:
- 'bugfix'
- 'bug'

- title: '🧬 Changes to Charge Owner informations'
- title: '🔈 Translations update'
labels:
- chargeowner
- chargeowners

- title: '🧬 New Charge Owner(s) added'
labels:
- 'new chargeowner'
- 'translation'

- title: '🧰 Maintenance'
label: 'chore'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
python-version: 3.8
- name: Cache
uses: actions/cache@v3.3.2
uses: actions/cache@v4.0.0
with:
path: ~/.cache/pip
key: pip-format
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- master
- main
pull_request:
types: [opened, reopened, synchronize]

Expand All @@ -18,7 +18,7 @@ jobs:
with:
fetch-depth: 0
- name: Create Release
uses: release-drafter/release-drafter@v5
uses: release-drafter/release-drafter@v6
with:
disable-releaser: github.ref != 'refs/heads/main'
env:
Expand Down
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Current Release](https://img.shields.io/github/release/mtrab/webastoconnect/all.svg?style=plastic)](https://github.com/mtrab/webastoconnect/releases) [![Github All Releases](https://img.shields.io/github/downloads/mtrab/webastoconnect/total.svg?style=plastic)](https://github.com/mtrab/webastoconnect/releases) <!--[![hacs_badge](https://img.shields.io/badge/HACS-Default-41BDF5.svg?style=plastic)](https://github.com/hacs/integration) -->
[![Current Release](https://img.shields.io/github/release/mtrab/webastoconnect/all.svg?style=plastic)](https://github.com/mtrab/webastoconnect/releases) [![Github All Releases](https://img.shields.io/github/downloads/mtrab/webastoconnect/total.svg?style=plastic)](https://github.com/mtrab/webastoconnect/releases) [![hacs_badge](https://img.shields.io/badge/HACS-Default-41BDF5.svg?style=plastic)](https://github.com/hacs/integration) [![Lokalize translation](https://img.shields.io/static/v1?label=Help%20translate&message=using%20Lokalize&color=green&style=plastic)](https://app.lokalise.com/public/25546617659fd91f4f8358.30009801/)

<a href="https://www.buymeacoffee.com/mtrab" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>

Expand All @@ -14,11 +14,11 @@ Webasto <b>DOES NOT</b> provide any public API or documentation of such, so I ca

# Installation:

### <strike>Option 1 (easy) - HACS:</strike>
### Option 1 (easy) - HACS:

- <strike>Ensure that HACS is installed.</strike>
- <strike>Search for and install the "Energi Data Service" integration.</strike>
- <strike>Restart Home Assistant.</strike>
- Ensure that HACS is installed.
- Search for and install the "Webasto Connect" integration.
- Restart Home Assistant.

### Option 2 - Manual installation:

Expand All @@ -36,4 +36,3 @@ Or go to Home Assistant > Settings > Integrations
Add "Webasto Connect (ThermoConnect)" integration *(If it doesn't show, try CTRL+F5 to force a refresh of the page)*

Enter your Webasto account email and password

2 changes: 1 addition & 1 deletion custom_components/webastoconnect/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
"requirements": [
"pywebasto==1.0.0"
],
"version": "0.1.1"
"version": "0.2.0"
}
19 changes: 19 additions & 0 deletions custom_components/webastoconnect/translations/da.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"config": {
"abort": {
"already_configured": "Enheden er allerede konfigureret"
},
"error": {
"invalid_auth": "Ugyldig autentificering"
},
"step": {
"user": {
"data": {
"email": "Email",
"password": "Kodeord"
}
}
},
"title": "Webasto Connect (ThermoConnect)"
}
}
4 changes: 2 additions & 2 deletions custom_components/webastoconnect/translations/en.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"config": {
"title": "Webasto Connect (ThermoConnect)",
"abort": {
"already_configured": "Device is already configured"
},
Expand All @@ -14,6 +13,7 @@
"password": "Password"
}
}
}
},
"title": "Webasto Connect (ThermoConnect)"
}
}
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
colorlog==6.8.0
colorlog==6.8.2
homeassistant==2024.2.2
pip>=21.0,<23.4
ruff==0.1.9
pip>=21.0,<24.1
ruff==0.2.2

0 comments on commit a7dea3a

Please sign in to comment.