{ "pluginAlias": "Tesla", "pluginType": "accessory", "schema": { "type": "object", "properties": { "name": { "title": "name", "type": "string", "required": true, "default": "Model S" }, "vin": { "title": "VIN", "type": "string", "required": true, "default": "" }, "refreshToken": { "title": "Tesla API Refresh Token", "type": "string", "required": true, "default": "", "description": "Read the documentation to learn how to get a refresh token." }, "prefix": { "title": "Services Prefix", "type": "string", "default": "", "description": "Prefix for all services. Useful if you have multiple Tesla vehicles. Example: 'Climate' becomes 'Model S Climate'." }, "waitMinutes": { "title": "Time in minutes to wait for the car to wake up (default is 1 minute)", "type": "integer", "default": 1, "maximum": 10, "minimum": 1, "description": "Default is one (1) minute" }, "vehicleLock": { "title": "Car Doors", "type": "boolean", "default": true, "description": "Example: 'Unlock the Car Doors'" }, "trunk": { "title": "Trunk", "type": "boolean", "default": true, "description": "Example: 'Open the Trunk'" }, "frontTrunk": { "title": "Front Trunk", "type": "boolean", "default": true, "description": "Example: 'Open the Front Trunk'" }, "sentryMode": { "title": "Sentry Mode", "type": "boolean", "default": true, "description": "Example: 'Turn on Sentry Mode'" }, "chargeLimit": { "title": "Charge Limit", "type": "boolean", "default": false, "description": "Example: 'Set the Charge Limit to 80%'. NOTE: Will appear in HomeKit as a Light bulb! There's no other way to do it." }, "chargeLevel": { "title": "Charge Level", "type": "boolean", "default": false, "description": "Creates a read-only light bulb representing the current battery level. Useful for automations. NOTE: Will appear in HomeKit as a Light bulb! There's no other way to do it." }, "climate": { "title": "Climate", "type": "boolean", "default": true, "description": "Example: 'Set the Climate to 72'" }, "climateSwitch": { "title": "Climate Switch", "type": "boolean", "default": false, "description": "If on, climate will be controlled by a switch instead of a thermostat. NOTE: This will not allow you to set a temperature." }, "steeringWheelHeater": { "title": "Steering Wheel Heater", "type": "boolean", "default": false, "description": "Example: 'Turn on the Steering Wheel Heater'" }, "defrost": { "title": "Defrost", "type": "boolean", "default": false, "description": "Example: 'Turn on the Defrost'" }, "celsius": { "title": "Use Celsius", "type": "boolean", "default": false, "description": "Uses celsius for degrees in supported services" }, "chargePort": { "title": "Charge Port", "type": "boolean", "default": false, "description": "Example: 'Open the Charge Port'" }, "charger": { "title": "Charger", "type": "boolean", "default": false, "description": "Example: 'Turn on the Charger' to begin charging the car" }, "chargingAmps": { "title": "Charging Amps", "type": "boolean", "default": false, "description": "Example: 'Set the Charging amps to 24'. NOTE: Will appear in HomeKit as a Light bulb! There's no other way to do it." }, "starter": { "title": "Starter", "type": "boolean", "default": false, "description": "Example: 'Turn on the Starter' to enable keyless driving" }, "homeLink": { "title": "Homelink", "type": "boolean", "default": false, "description": "Example: 'Open Homelink' to open the garage door (requires latitude and longitude set)" }, "latitude": { "title": "Latitude", "type": "string", "default": "", "description": "Latitude of your Homelink device. Required if Homelink is enabled." }, "longitude": { "title": "Longitude", "type": "string", "default": "", "description": "Longitude of your Homelink device. Required if Homelink is enabled." }, "china": { "title": "Use China Authentication Servers", "type": "boolean", "default": false, "description": "Experimental flag for users in China." } } } }