Skip to content

Commit

Permalink
fix: add missing translations
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Jul 27, 2023
1 parent f2a9a08 commit 36e4b2c
Showing 1 changed file with 24 additions and 6 deletions.
30 changes: 24 additions & 6 deletions custom_components/tesla_custom/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,36 @@
"name": "Run API Command",
"description": "Run an API command using controller.api",
"fields": {
"email": "Email address",
"command": "Command",
"parameters": "Parameters"
"email": {
"name": "Email address",
"description": "Email address (optional if only one account)"
},
"command": {
"name": "Command",
"description": "Command to run. See https://github.com/zabuldon/teslajsonpy/blob/master/teslajsonpy/endpoints.json"
},
"parameters": {
"name": "Parameters",
"description": "Parameters in a dictionary. `path_vars` replace variables in endpoints.json path. All others are passed directly to controller.api. For command parameters see https://tesla-api.timdorr.com/vehicle/commands."
}
}
},
"polling_interval": {
"name": "Set Polling Interval",
"description": "Set the polling interval for the Tesla API",
"fields": {
"scan_interval": "Interval (seconds)",
"email": "Email address",
"vin": "Vehicle VIN"
"scan_interval": {
"name": "Interval (seconds)",
"description": "Number of seconds between each poll. See https://github.com/alandtse/tesla/wiki/Polling-policy more information."
},
"email": {
"name": "Email address",
"description": "Email address (optional if only one account)"
},
"vin": {
"name": "Vehicle VIN",
"description": "Vehicle VIN (if not provided then default polling interval will be updated)"
}
}
}
}
Expand Down

0 comments on commit 36e4b2c

Please sign in to comment.