2 * Copyright (c) 2010-2023 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 is_user_present;
27 public boolean locked;
28 public boolean notifications_supported;
29 public boolean parsed_calendar_supported;
30 public boolean remote_start;
31 public boolean remote_start_supported;
33 public boolean sentry_mode;
34 public boolean valet_mode;
35 public boolean valet_pin_needed;
36 public float odometer;
37 public int center_display_state;
43 public int rear_seat_heaters;
46 public int sun_roof_installed;
47 public int sun_roof_percent_open;
48 public String autopark_state;
49 public String autopark_state_v2;
50 public String autopark_style;
51 public String car_version;
52 public String exterior_color;
53 public String last_autopark_error;
54 public String perf_config;
55 public String roof_color;
56 public String sun_roof_state;
57 public String vehicle_name;
58 public String wheel_type;
60 public SoftwareUpdate software_update;