diff --git a/custom_components/tesla_custom/strings.json b/custom_components/tesla_custom/strings.json index 8b60f5c9..9f326c06 100644 --- a/custom_components/tesla_custom/strings.json +++ b/custom_components/tesla_custom/strings.json @@ -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)" + } } } }