Skip to content

Commit ad356e9

Browse files
committed
Fixes
1 parent e0b3d9f commit ad356e9

File tree

3 files changed

+42
-35
lines changed

3 files changed

+42
-35
lines changed
Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
{
22
"domain": "teslemetry",
33
"name": "Teslemetry",
4-
"codeowners": ["@Bre77"],
4+
"codeowners": [
5+
"@Bre77"
6+
],
57
"config_flow": true,
6-
"dependencies": ["application_credentials"],
8+
"dependencies": [
9+
"application_credentials"
10+
],
711
"documentation": "https://www.home-assistant.io/integrations/teslemetry",
812
"integration_type": "hub",
913
"iot_class": "cloud_polling",
1014
"issue_tracker": "https://github.com/Teslemetry/hass-teslemetry/issues",
11-
"loggers": ["tesla-fleet-api"],
12-
<<<<<<< ours
13-
<<<<<<< ours
14-
"requirements": ["tesla-fleet-api==1.3.0", "teslemetry-stream==0.8.2"]
15-
=======
16-
"requirements": ["tesla-fleet-api==1.3.0", "teslemetry-stream==0.7.10"]
17-
>>>>>>> theirs
18-
=======
19-
"requirements": ["tesla-fleet-api==1.3.0", "teslemetry-stream==0.8.2"]
20-
>>>>>>> theirs
15+
"loggers": [
16+
"tesla-fleet-api"
17+
],
18+
"requirements": [
19+
"tesla-fleet-api==1.3.0",
20+
"teslemetry-stream==0.8.2"
21+
],
22+
"version": "5.0.9"
2123
}
Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
{
22
"domain": "teslemetry",
33
"name": "Teslemetry",
4-
"codeowners": ["@Bre77"],
4+
"codeowners": [
5+
"@Bre77"
6+
],
57
"config_flow": true,
6-
"dependencies": ["application_credentials"],
8+
"dependencies": [
9+
"application_credentials"
10+
],
711
"documentation": "https://www.home-assistant.io/integrations/teslemetry",
812
"integration_type": "hub",
913
"iot_class": "cloud_polling",
1014
"issue_tracker": "https://github.com/Teslemetry/hass-teslemetry/issues",
11-
"loggers": ["tesla-fleet-api"],
12-
<<<<<<< ours
13-
<<<<<<< ours
14-
"requirements": ["tesla-fleet-api==1.3.0", "teslemetry-stream==0.8.2"]
15-
=======
16-
"requirements": ["tesla-fleet-api==1.3.0", "teslemetry-stream==0.7.10"]
17-
>>>>>>> theirs
18-
=======
19-
"requirements": ["tesla-fleet-api==1.3.0", "teslemetry-stream==0.8.2"]
20-
>>>>>>> theirs
15+
"loggers": [
16+
"tesla-fleet-api"
17+
],
18+
"requirements": [
19+
"tesla-fleet-api==1.3.0",
20+
"teslemetry-stream==0.8.2"
21+
],
22+
"version": "5.0.9"
2123
}

homeassistant/components/teslemetry/translations/en.json

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
"config": {
2929
"abort": {
3030
"already_configured": "Account is already configured",
31+
"oauth_error": "Received invalid token data.",
32+
"oauth_failed": "Error while obtaining access token.",
33+
"oauth_timeout": "Timeout resolving OAuth token.",
34+
"oauth_unauthorized": "OAuth authorization error while obtaining access token.",
3135
"reauth_account_mismatch": "The reauthentication account does not match the original account",
3236
"reauth_successful": "Re-authentication was successful"
3337
},
@@ -39,17 +43,8 @@
3943
},
4044
"step": {
4145
"reauth_confirm": {
42-
"data": {
43-
"access_token": "Access token"
44-
},
45-
"description": "The {name} integration needs to re-authenticate your account, please enter an access token from {url}",
46+
"description": "The {name} integration needs to re-authenticate your account",
4647
"title": "Authentication expired for {name}"
47-
},
48-
"user": {
49-
"data": {
50-
"access_token": "Access token"
51-
},
52-
"description": "Enter an access token from {url}."
5348
}
5449
}
5550
},
@@ -274,6 +269,14 @@
274269
"name": "Wake"
275270
}
276271
},
272+
"calendar": {
273+
"tariff_content_v2": {
274+
"name": "Buy tariff"
275+
},
276+
"tariff_content_v2_sell_tariff": {
277+
"name": "Sell tariff"
278+
}
279+
},
277280
"climate": {
278281
"climate_state_cabin_overheat_protection": {
279282
"name": "Cabin overheat protection"
@@ -1357,7 +1360,7 @@
13571360
"name": "Energy Site"
13581361
},
13591362
"tou_settings": {
1360-
"description": "See https://developer.tesla.com/docs/fleet-api#time_of_use_settings for details.",
1363+
"description": "See {time_of_use_url} for details.",
13611364
"name": "Settings"
13621365
}
13631366
},

0 commit comments

Comments
 (0)