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 ClimateState} is a datastructure to capture
17 * variables sent by the Tesla Vehicle
19 * @author Karel Goderis - Initial contribution
21 public class ClimateState {
23 public boolean battery_heater;
24 public boolean battery_heater_no_power;
25 public boolean is_auto_conditioning_on;
26 public boolean is_climate_on;
27 public boolean is_front_defroster_on;
28 public boolean is_preconditioning;
29 public boolean is_rear_defroster_on;
30 public int seat_heater_left;
31 public int seat_heater_rear_center;
32 public int seat_heater_rear_left;
33 public int seat_heater_rear_right;
34 public int seat_heater_right;
35 public boolean side_mirror_heaters;
36 public boolean smart_preconditioning;
37 public boolean steering_wheel_heater;
38 public boolean wiper_blade_heater;
39 public float driver_temp_setting;
40 public float inside_temp;
41 public float outside_temp;
42 public float passenger_temp_setting;
43 public int fan_status;
44 public int left_temp_direction;
45 public int max_avail_temp;
46 public int min_avail_temp;
47 public int right_temp_direction;
48 public int seat_heater_rear_left_back;
49 public int seat_heater_rear_right_back;