-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add localization of sensor value fix #28
- Loading branch information
Tuen Lee
committed
Dec 26, 2023
1 parent
aa12c0a
commit c4642db
Showing
9 changed files
with
593 additions
and
112 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
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
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,98 @@ | ||
{ | ||
"config": { | ||
"step": { | ||
"user": { | ||
"title": "Konfiguriere Deinen Polestar", | ||
"description": "Eingabe der Zugangsdaten Deines Polestar", | ||
"data": { | ||
"name": "Anzeigename", | ||
"username": "Benutzername", | ||
"password": "Passwort", | ||
"vin": "VIN" | ||
} | ||
} | ||
}, | ||
"abort": { | ||
"api_timeout": "Zeitüberschreitung bei der Verbindung mit der API.", | ||
"api_failed": "Unerwarteter Fehler beim Erstellen der API.", | ||
"already_configured": "Die Polestar API ist bereits konfiguriert", | ||
"no_token": "Kein Token in der Antwort gefunden. Bitte überprüfe Deine Anmeldeinformationen." | ||
"config": { | ||
"step": { | ||
"user": { | ||
"title": "Konfiguriere Deinen Polestar", | ||
"description": "Eingabe der Zugangsdaten Deines Polestar", | ||
"data": { | ||
"name": "Anzeigename", | ||
"username": "Benutzername", | ||
"password": "Passwort", | ||
"vin": "VIN" | ||
} | ||
} | ||
}, | ||
"abort": { | ||
"api_timeout": "Zeitüberschreitung bei der Verbindung mit der API.", | ||
"api_failed": "Unerwarteter Fehler beim Erstellen der API.", | ||
"already_configured": "Die Polestar API ist bereits konfiguriert", | ||
"no_token": "Kein Token in der Antwort gefunden. Bitte überprüfe Deine Anmeldeinformationen." | ||
} | ||
}, | ||
"entity": { | ||
"sensor": { | ||
"polestar_estimate_distance_to_empty_miles": { | ||
"name": "Reichweite (Meilen)" | ||
}, | ||
"polestar_estimate_distance_to_empty_km": { | ||
"name": "Reichweite (km)" | ||
}, | ||
"polestar_current_odometer_meters": { | ||
"name": "Kilometerstand" | ||
}, | ||
"polestar_average_speed_km_per_hour": { | ||
"name": "Durchschnittsgeschwindigkeit (km/h)" | ||
}, | ||
"polestar_current_trip_meter_automatic": { | ||
"name": "Trip Meter Automatisch" | ||
}, | ||
"polestar_current_trip_meter_manual": { | ||
"name": "Trip Meter Manuell" | ||
}, | ||
"polestar_battery_charge_level": { | ||
"name": "Batterieladestand" | ||
}, | ||
"polestar_estimated_charging_time_to_full_minutes": { | ||
"name": "Geschätzte Ladezeit bis zur vollen Batterie" | ||
}, | ||
"polestar_charging_status": { | ||
"name": "Ladezustand" | ||
}, | ||
"polestar_charging_power_watts": { | ||
"name": "Ladeleistung" | ||
}, | ||
"polestar_charging_current_amps": { | ||
"name": "Ladestrom" | ||
}, | ||
"polestar_charger_connection_status": { | ||
"name": "Ladestatus" | ||
}, | ||
"polestar_average_energy_consumption_kwh_per_100_km": { | ||
"name": "Durchschnittlicher Energieverbrauch (kWh/100km)" | ||
}, | ||
"polestar_estimated_charging_time_minutes_to_target_distance": { | ||
"name": "Geschätzte Ladezeit bis zur Zielentfernung" | ||
}, | ||
"polestar_vin": { | ||
"name": "VIN" | ||
}, | ||
"polestar_registration_number": { | ||
"name": "Registrierungsnummer" | ||
}, | ||
"polestar_estimated_fully_charged_time": { | ||
"name": "Geschätzte vollständig geladene Zeit" | ||
}, | ||
"polestar_model_name": { | ||
"name": "Modellname" | ||
}, | ||
"polestar_last_updated_odometer_data": { | ||
"name": "Letzte Aktualisierung der Kilometerstanddaten" | ||
}, | ||
"polestar_last_updated_battery_data": { | ||
"name": "Letzte Aktualisierung der Batteriedaten" | ||
}, | ||
"polestar_estimate_full_charge_range_miles": { | ||
"name": "Geschätzte Reichweite bei voller Ladung (Meilen)" | ||
}, | ||
"polestar_estimate_full_charge_range": { | ||
"name": "Geschätzte Reichweite bei voller Ladung" | ||
}, | ||
"polestar_api_status_code": { | ||
"name": "API Status Code" | ||
}, | ||
"polestar_api_token_expires_at": { | ||
"name": "API Token läuft ab" | ||
} | ||
} | ||
} | ||
} |
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,29 +1,98 @@ | ||
{ | ||
"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." | ||
"config": { | ||
"step": { | ||
"user": { | ||
"title": "Configure Polestar EV", | ||
"description": "Enter Authentication of Polestar EV", | ||
"data": { | ||
"name": "Friendly name", | ||
"username": "Username", | ||
"password": "Password", | ||
"vin": "VIN" | ||
} | ||
} | ||
}, | ||
"entity": { | ||
"sensor": { | ||
"polestar_api_estimate_distance_to_empty_km": { | ||
"name": "Distance km Remaining" | ||
} | ||
} | ||
"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_estimate_distance_to_empty_miles": { | ||
"name": "Distance Miles Remaining" | ||
}, | ||
"polestar_estimate_distance_to_empty_km": { | ||
"name": "Distance km Remaining" | ||
}, | ||
"polestar_current_odometer_meters": { | ||
"name": "Odometer Meters" | ||
}, | ||
"polestar_average_speed_km_per_hour": { | ||
"name": "Average Speed km/h" | ||
}, | ||
"polestar_current_trip_meter_automatic": { | ||
"name": "Trip Meter Automatic" | ||
}, | ||
"polestar_current_trip_meter_manual": { | ||
"name": "Trip Meter Manual" | ||
}, | ||
"polestar_battery_charge_level": { | ||
"name": "Battery Charge Level" | ||
}, | ||
"polestar_estimated_charging_time_to_full_minutes": { | ||
"name": "Estimated Charging Time to Full Minutes" | ||
}, | ||
"polestar_charging_status": { | ||
"name": "Charging Status" | ||
}, | ||
"polestar_charging_power_watts": { | ||
"name": "Charging Power Watts" | ||
}, | ||
"polestar_charging_current_amps": { | ||
"name": "Charging Current Amps" | ||
}, | ||
"polestar_charger_connection_status": { | ||
"name": "Charger Connection Status" | ||
}, | ||
"polestar_average_energy_consumption_kwh_per_100_km": { | ||
"name": "Average Energy Consumption kWh/100km" | ||
}, | ||
"polestar_estimated_charging_time_minutes_to_target_distance": { | ||
"name": "Estimated Charging Time Minutes to Target Distance" | ||
}, | ||
"polestar_vin": { | ||
"name": "VIN" | ||
}, | ||
"polestar_registration_number": { | ||
"name": "Registration Number" | ||
}, | ||
"polestar_estimated_fully_charged_time": { | ||
"name": "Estimated Fully Charged Time" | ||
}, | ||
"polestar_model_name": { | ||
"name": "Model Name" | ||
}, | ||
"polestar_last_updated_odometer_data": { | ||
"name": "Last Updated Odometer Data" | ||
}, | ||
"polestar_last_updated_battery_data": { | ||
"name": "Last Updated Battery Data" | ||
}, | ||
"polestar_estimate_full_charge_range_miles": { | ||
"name": "Estimate Full Charge Range Miles" | ||
}, | ||
"polestar_estimate_full_charge_range": { | ||
"name": "Estimate Full Charge Range" | ||
}, | ||
"polestar_api_status_code": { | ||
"name": "API Status Code" | ||
}, | ||
"polestar_api_token_expires_at": { | ||
"name": "API Token Expires At" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.