2 * Copyright (c) 2010-2021 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.tesla.internal.protocol;
16 * The {@link VehicleState} is a datastructure to capture
17 * variables sent by the Tesla Vehicle
19 * @author Karel Goderis - Initial contribution
21 public class VehicleState {
23 public boolean dark_rims;
24 public boolean has_spoiler;
25 public boolean homelink_nearby;
26 public boolean locked;
27 public boolean notifications_supported;
28 public boolean parsed_calendar_supported;
29 public boolean remote_start;
30 public boolean remote_start_supported;
32 public boolean valet_mode;
33 public boolean valet_pin_needed;
34 public float odometer;
35 public int center_display_state;
41 public int rear_seat_heaters;
44 public int sun_roof_installed;
45 public int sun_roof_percent_open;
46 public String autopark_state;
47 public String autopark_state_v2;
48 public String autopark_style;
49 public String car_version;
50 public String exterior_color;
51 public String last_autopark_error;
52 public String perf_config;
53 public String roof_color;
54 public String sun_roof_state;
55 public String vehicle_name;
56 public String wheel_type;