-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from m0wlheld/dev
Add Home Assistant Meta-Data and Github Action
- Loading branch information
Showing
5 changed files
with
49 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Validate with hassfest | ||
|
||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
validate: | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- uses: "actions/checkout@v3" | ||
- uses: home-assistant/actions/hassfest@master | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
{ | ||
"domain": "polestar_api", | ||
"name": "polestar_api", | ||
"version": "0.0.1", | ||
"name": "Polestar API", | ||
"codeowners": ["@leeyuentuen"], | ||
"config_flow": true, | ||
"documentation": "https://github.com/leeyuentuen/polestar_api", | ||
"dependencies": [], | ||
"codeowners": ["leeyuentuen"] | ||
"documentation": "https://github.com/leeyuentuen/polestar_api", | ||
"iot_class": "cloud_polling", | ||
"version": "1.0.5" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,4 @@ | |
"no_token": "Kein Token in der Antwort gefunden. Bitte überprüfe Deine Anmeldeinformationen." | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,29 @@ | ||
{ | ||
"config": { | ||
"step": { | ||
"user": { | ||
"title": "Configure Polestar EV", | ||
"description": "Enter Authentication of Polestar EV", | ||
"data": { | ||
"name": "Friendly name", | ||
"username": "Username", | ||
"password": "Password", | ||
"vin": "VIN" | ||
"config": { | ||
"step": { | ||
"user": { | ||
"title": "Configure Polestar EV", | ||
"description": "Enter Authentication of Polestar EV", | ||
"data": { | ||
"name": "Friendly name", | ||
"username": "Username", | ||
"password": "Password", | ||
"vin": "VIN" | ||
} | ||
} | ||
}, | ||
"abort": { | ||
"api_timeout": "Timeout connecting to the api.", | ||
"api_failed": "Unexpected error creating api.", | ||
"already_configured": "Polestar API is already configured", | ||
"no_token": "No token found in response. Please check your credentials." | ||
} | ||
} | ||
}, | ||
"abort": { | ||
"api_timeout": "Timeout connecting to the api.", | ||
"api_failed": "Unexpected error creating api.", | ||
"already_configured": "Polestar API is already configured", | ||
"no_token": "No token found in response. Please check your credentials." | ||
"entity": { | ||
"sensor": { | ||
"polestar_api_estimate_distance_to_empty_km": { | ||
"name": "Distance km Remaining" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |