|
| 1 | +/** |
| 2 | + * Copyright (c) 2010-2024 Contributors to the openHAB project |
| 3 | + * |
| 4 | + * See the NOTICE file(s) distributed with this work for additional |
| 5 | + * information. |
| 6 | + * |
| 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 |
| 10 | + * |
| 11 | + * SPDX-License-Identifier: EPL-2.0 |
| 12 | + */ |
| 13 | +package org.openhab.binding.teslascope.internal; |
| 14 | + |
| 15 | +import org.eclipse.jdt.annotation.NonNullByDefault; |
| 16 | +import org.openhab.core.thing.ThingTypeUID; |
| 17 | + |
| 18 | +/** |
| 19 | + * The {@link TeslascopeBindingConstants} class defines common constants, which are |
| 20 | + * used across the whole binding. |
| 21 | + * |
| 22 | + * @author Paul Smedley - Initial contribution |
| 23 | + */ |
| 24 | +@NonNullByDefault |
| 25 | +public class TeslascopeBindingConstants { |
| 26 | + |
| 27 | + private static final String BINDING_ID = "teslascope"; |
| 28 | + |
| 29 | + // List of all Thing Type UIDs |
| 30 | + public static final ThingTypeUID TESLASCOPE_THING = new ThingTypeUID(BINDING_ID, "vehicle"); |
| 31 | + |
| 32 | + // List of all Channel ids |
| 33 | + public static final String CHANNEL_VIN = "vin"; |
| 34 | + public static final String CHANNEL_VEHICLE_NAME = "vehicle-name"; |
| 35 | + public static final String CHANNEL_VEHICLE_STATE = "vehicle-state"; |
| 36 | + public static final String CHANNEL_ODOMETER = "odometer"; |
| 37 | + public static final String CHANNEL_BATTERY_LEVEL = "battery-level"; |
| 38 | + public static final String CHANNEL_CHARGING_STATE = "charging-state"; |
| 39 | + public static final String CHANNEL_TPMS_FL = "tpms-pressure-fl"; |
| 40 | + public static final String CHANNEL_TPMS_FR = "tpms-pressure-fr"; |
| 41 | + public static final String CHANNEL_TPMS_RL = "tpms-pressure-rl"; |
| 42 | + public static final String CHANNEL_TPMS_RR = "tpms-pressure-rr"; |
| 43 | + public static final String CHANNEL_TPMS_SOFT_WARNING_FL = "tpms-soft-warning-fl"; |
| 44 | + public static final String CHANNEL_TPMS_SOFT_WARNING_FR = "tpms-soft-warning-fr"; |
| 45 | + public static final String CHANNEL_TPMS_SOFT_WARNING_RL = "tpms-soft-warning-rl"; |
| 46 | + public static final String CHANNEL_TPMS_SOFT_WARNING_RR = "tpms-soft-warning-rr"; |
| 47 | + public static final String CHANNEL_SOFTWARE_UPDATE_AVAILABLE = "software-update-available"; |
| 48 | + public static final String CHANNEL_SOFTWARE_UPDATE_STATUS = "software-update-status"; |
| 49 | + public static final String CHANNEL_SOFTWARE_UPDATE_VERSION = "software-update-version"; |
| 50 | + public static final String CHANNEL_AUTOCONDITIONING = "auto-conditioning"; |
| 51 | + public static final String CHANNEL_BATTERY_RANGE = "battery-range"; |
| 52 | + public static final String CHANNEL_CENTER_REAR_SEAT_HEATER = "center-rear-seat-heater"; |
| 53 | + public static final String CHANNEL_CHARGE = "charge"; |
| 54 | + public static final String CHANNEL_CHARGE_ENERGY_ADDED = "charge-energy-added"; |
| 55 | + public static final String CHANNEL_CHARGE_LIMIT_SOC_STANDARD = "charge-limit-soc-standard"; |
| 56 | + public static final String CHANNEL_CHARGE_PORT = "charge-port"; |
| 57 | + public static final String CHANNEL_CHARGE_RATE = "charge-rate"; |
| 58 | + public static final String CHANNEL_CHARGER_POWER = "charger-power"; |
| 59 | + public static final String CHANNEL_CHARGER_VOLTAGE = "charger-voltage"; |
| 60 | + public static final String CHANNEL_CLIMATE = "climate"; |
| 61 | + public static final String CHANNEL_DOOR_LOCK = "door-lock"; |
| 62 | + public static final String CHANNEL_DRIVER_FRONT_DOOR = "driver-front-door"; |
| 63 | + public static final String CHANNEL_DRIVER_REAR_DOOR = "driver-rear-door"; |
| 64 | + public static final String CHANNEL_DRIVER_TEMP = "driver-temp"; |
| 65 | + public static final String CHANNEL_ESTIMATED_BATTERY_RANGE = "estimated-battery-range"; |
| 66 | + public static final String CHANNEL_FAN = "fan"; |
| 67 | + public static final String CHANNEL_FLASH_LIGHTS = "flash-lights"; |
| 68 | + public static final String CHANNEL_FRONT_DEFROSTER = "front-defroster"; |
| 69 | + public static final String CHANNEL_FRONT_TRUNK = "front-trunk"; |
| 70 | + public static final String CHANNEL_HEADING = "heading"; |
| 71 | + public static final String CHANNEL_HOMELINK = "homelink"; |
| 72 | + public static final String CHANNEL_HONK_HORN = "honk-horn"; |
| 73 | + public static final String CHANNEL_INSIDE_TEMP = "inside-temp"; |
| 74 | + public static final String CHANNEL_LEFT_REAR_SEAT_HEATER = "left-rear-seat-heater"; |
| 75 | + public static final String CHANNEL_LEFT_SEAT_HEATER = "left-seat-heater"; |
| 76 | + public static final String CHANNEL_LEFT_TEMP_DIRECTION = "left-temp-direction"; |
| 77 | + public static final String CHANNEL_LOCATION = "location"; |
| 78 | + public static final String CHANNEL_MIN_AVAILABLE_TEMP = "min-available-temp"; |
| 79 | + public static final String CHANNEL_MAX_AVAILABLE_TEMP = "max-available-temp"; |
| 80 | + public static final String CHANNEL_OUTSIDE_TEMP = "outside-temp"; |
| 81 | + public static final String CHANNEL_PASSENGER_FRONT_DOOR = "passenger-front-door"; |
| 82 | + public static final String CHANNEL_PASSENGER_REAR_DOOR = "passenger-rear-door"; |
| 83 | + public static final String CHANNEL_PASSENGER_TEMP = "passenger-temp"; |
| 84 | + public static final String CHANNEL_POWER = "power"; |
| 85 | + public static final String CHANNEL_PRECONDITIONING = "preconditioning"; |
| 86 | + public static final String CHANNEL_REAR_DEFROSTER = "rear-defroster"; |
| 87 | + public static final String CHANNEL_REAR_TRUNK = "rear-trunk"; |
| 88 | + public static final String CHANNEL_RIGHT_REAR_SEAT_HEATER = "right-rear-seat-heater"; |
| 89 | + public static final String CHANNEL_RIGHT_SEAT_HEATER = "right-seat-heater"; |
| 90 | + public static final String CHANNEL_RIGHT_TEMP_DIRECTION = "right-temp-direction"; |
| 91 | + public static final String CHANNEL_SCHEDULED_CHARGING_PENDING = "scheduled-charging-pending"; |
| 92 | + public static final String CHANNEL_SCHEDULED_CHARGING_START = "scheduled-charging-start"; |
| 93 | + public static final String CHANNEL_SENTRY_MODE = "sentry-mode"; |
| 94 | + public static final String CHANNEL_SHIFT_STATE = "shift-state"; |
| 95 | + public static final String CHANNEL_SIDE_MIRROR_HEATERS = "side-mirror-heaters"; |
| 96 | + public static final String CHANNEL_SMARTPRECONDITIONG = "smart-preconditioning"; |
| 97 | + public static final String CHANNEL_SPEED = "speed"; |
| 98 | + public static final String CHANNEL_STEERING_WHEEL_HEATER = "steering-wheel-heater"; |
| 99 | + public static final String CHANNEL_SUNROOF = "sunroof"; |
| 100 | + public static final String CHANNEL_SUNROOF_STATE = "sunroof-state"; |
| 101 | + public static final String CHANNEL_TIME_TO_FULL_CHARGE = "time-to-full-charge"; |
| 102 | + public static final String CHANNEL_USABLE_BATTERY_LEVEL = "usable-battery-level"; |
| 103 | + public static final String CHANNEL_VALET_MODE = "valet-mode"; |
| 104 | + public static final String CHANNEL_WIPER_BLADE_HEATER = "wiper-blade-heater"; |
| 105 | +} |
0 commit comments