mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 17:27:59 +01:00
Update const.py
This commit is contained in:
parent
6139b933c5
commit
1e2761b375
1 changed files with 5 additions and 20 deletions
|
@ -1,6 +1,6 @@
|
|||
"""Constants used by esphome."""
|
||||
|
||||
__version__ = "2024.10.0-dev"
|
||||
__version__ = "2024.8.3"
|
||||
|
||||
ALLOWED_NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-_"
|
||||
VALID_SUBSTITUTIONS_CHARACTERS = (
|
||||
|
@ -44,7 +44,6 @@ CONF_ACTIONS = "actions"
|
|||
CONF_ACTIVE = "active"
|
||||
CONF_ACTIVE_POWER = "active_power"
|
||||
CONF_ACTUAL_GAIN = "actual_gain"
|
||||
CONF_ACTUAL_INTEGRATION_TIME = "actual_integration_time"
|
||||
CONF_ADDRESS = "address"
|
||||
CONF_ADDRESSABLE_LIGHT_ID = "addressable_light_id"
|
||||
CONF_ADVANCED = "advanced"
|
||||
|
@ -53,7 +52,6 @@ CONF_ALLOW_OTHER_USES = "allow_other_uses"
|
|||
CONF_ALPHA = "alpha"
|
||||
CONF_ALTITUDE = "altitude"
|
||||
CONF_AMBIENT_LIGHT = "ambient_light"
|
||||
CONF_AMMONIA = "ammonia"
|
||||
CONF_ANALOG = "analog"
|
||||
CONF_AND = "and"
|
||||
CONF_ANGLE = "angle"
|
||||
|
@ -111,7 +109,6 @@ CONF_CALIBRATE_LINEAR = "calibrate_linear"
|
|||
CONF_CALIBRATION = "calibration"
|
||||
CONF_CAPACITANCE = "capacitance"
|
||||
CONF_CAPACITY = "capacity"
|
||||
CONF_CARBON_MONOXIDE = "carbon_monoxide"
|
||||
CONF_CARRIER_DUTY_PERCENT = "carrier_duty_percent"
|
||||
CONF_CARRIER_FREQUENCY = "carrier_frequency"
|
||||
CONF_CERTIFICATE = "certificate"
|
||||
|
@ -122,7 +119,6 @@ CONF_CHANNELS = "channels"
|
|||
CONF_CHARACTERISTIC_UUID = "characteristic_uuid"
|
||||
CONF_CHECK = "check"
|
||||
CONF_CHIPSET = "chipset"
|
||||
CONF_CLEAN_SESSION = "clean_session"
|
||||
CONF_CLEAR_IMPEDANCE = "clear_impedance"
|
||||
CONF_CLIENT_CERTIFICATE = "client_certificate"
|
||||
CONF_CLIENT_CERTIFICATE_KEY = "client_certificate_key"
|
||||
|
@ -265,7 +261,6 @@ CONF_ENUM_DATAPOINT = "enum_datapoint"
|
|||
CONF_EQUATION = "equation"
|
||||
CONF_ESP8266_DISABLE_SSL_SUPPORT = "esp8266_disable_ssl_support"
|
||||
CONF_ESPHOME = "esphome"
|
||||
CONF_ETHANOL = "ethanol"
|
||||
CONF_ETHERNET = "ethernet"
|
||||
CONF_EVENT = "event"
|
||||
CONF_EVENT_TYPE = "event_type"
|
||||
|
@ -328,7 +323,6 @@ CONF_FREQUENCY = "frequency"
|
|||
CONF_FRIENDLY_NAME = "friendly_name"
|
||||
CONF_FROM = "from"
|
||||
CONF_FULL_SPECTRUM = "full_spectrum"
|
||||
CONF_FULL_SPECTRUM_COUNTS = "full_spectrum_counts"
|
||||
CONF_FULL_UPDATE_EVERY = "full_update_every"
|
||||
CONF_GAIN = "gain"
|
||||
CONF_GAMMA_CORRECT = "gamma_correct"
|
||||
|
@ -364,7 +358,6 @@ CONF_HOURS = "hours"
|
|||
CONF_HSYNC_PIN = "hsync_pin"
|
||||
CONF_HUMIDITY = "humidity"
|
||||
CONF_HUMIDITY_SENSOR = "humidity_sensor"
|
||||
CONF_HYDROGEN = "hydrogen"
|
||||
CONF_HYSTERESIS = "hysteresis"
|
||||
CONF_I2C = "i2c"
|
||||
CONF_I2C_ID = "i2c_id"
|
||||
|
@ -380,7 +373,6 @@ CONF_IDLE_ACTION = "idle_action"
|
|||
CONF_IDLE_LEVEL = "idle_level"
|
||||
CONF_IDLE_TIME = "idle_time"
|
||||
CONF_IF = "if"
|
||||
CONF_IGNORE_EFUSE_CUSTOM_MAC = "ignore_efuse_custom_mac"
|
||||
CONF_IGNORE_EFUSE_MAC_CRC = "ignore_efuse_mac_crc"
|
||||
CONF_IGNORE_OUT_OF_RANGE = "ignore_out_of_range"
|
||||
CONF_IGNORE_PIN_VALIDATION_ERROR = "ignore_pin_validation_error"
|
||||
|
@ -439,7 +431,6 @@ CONF_LIGHT_ID = "light_id"
|
|||
CONF_LIGHTNING_ENERGY = "lightning_energy"
|
||||
CONF_LIGHTNING_THRESHOLD = "lightning_threshold"
|
||||
CONF_LIMIT_MODE = "limit_mode"
|
||||
CONF_LINE_FREQUENCY = "line_frequency"
|
||||
CONF_LINE_THICKNESS = "line_thickness"
|
||||
CONF_LINE_TYPE = "line_type"
|
||||
CONF_LOADED_INTEGRATIONS = "loaded_integrations"
|
||||
|
@ -481,7 +472,6 @@ CONF_MEDIA_PLAYER = "media_player"
|
|||
CONF_MEDIUM = "medium"
|
||||
CONF_MEMORY_BLOCKS = "memory_blocks"
|
||||
CONF_MESSAGE = "message"
|
||||
CONF_METHANE = "methane"
|
||||
CONF_METHOD = "method"
|
||||
CONF_MICROPHONE = "microphone"
|
||||
CONF_MIN_BRIGHTNESS = "min_brightness"
|
||||
|
@ -528,7 +518,6 @@ CONF_NBITS = "nbits"
|
|||
CONF_NEC = "nec"
|
||||
CONF_NETWORKS = "networks"
|
||||
CONF_NEW_PASSWORD = "new_password"
|
||||
CONF_NITROGEN_DIOXIDE = "nitrogen_dioxide"
|
||||
CONF_NOISE_LEVEL = "noise_level"
|
||||
CONF_NUM_ATTEMPTS = "num_attempts"
|
||||
CONF_NUM_CHANNELS = "num_channels"
|
||||
|
@ -740,7 +729,6 @@ CONF_RW_PIN = "rw_pin"
|
|||
CONF_RX_BUFFER_SIZE = "rx_buffer_size"
|
||||
CONF_RX_ONLY = "rx_only"
|
||||
CONF_RX_PIN = "rx_pin"
|
||||
CONF_RX_QUEUE_LEN = "rx_queue_len"
|
||||
CONF_SAFE_MODE = "safe_mode"
|
||||
CONF_SAMPLE_RATE = "sample_rate"
|
||||
CONF_SAMSUNG = "samsung"
|
||||
|
@ -785,6 +773,7 @@ CONF_SIZE = "size"
|
|||
CONF_SLEEP_DURATION = "sleep_duration"
|
||||
CONF_SLEEP_PIN = "sleep_pin"
|
||||
CONF_SLEEP_WHEN_DONE = "sleep_when_done"
|
||||
CONF_SMOKE = "smoke" # added to support Xiaomi (Honeywell) smoke sensor JTYJGD03MI
|
||||
CONF_SONY = "sony"
|
||||
CONF_SOURCE = "source"
|
||||
CONF_SOURCE_ID = "source_id"
|
||||
|
@ -860,7 +849,6 @@ CONF_TEMPERATURE_STEP = "temperature_step"
|
|||
CONF_TEXT = "text"
|
||||
CONF_TEXT_SENSORS = "text_sensors"
|
||||
CONF_THEN = "then"
|
||||
CONF_THERMOCOUPLE_TYPE = "thermocouple_type"
|
||||
CONF_THRESHOLD = "threshold"
|
||||
CONF_THROTTLE = "throttle"
|
||||
CONF_TILT = "tilt"
|
||||
|
@ -893,7 +881,6 @@ CONF_TVOC = "tvoc"
|
|||
CONF_TX_BUFFER_SIZE = "tx_buffer_size"
|
||||
CONF_TX_PIN = "tx_pin"
|
||||
CONF_TX_POWER = "tx_power"
|
||||
CONF_TX_QUEUE_LEN = "tx_queue_len"
|
||||
CONF_TYPE = "type"
|
||||
CONF_TYPE_ID = "type_id"
|
||||
CONF_UART_ID = "uart_id"
|
||||
|
@ -934,6 +921,7 @@ CONF_WARM_WHITE_COLOR_TEMPERATURE = "warm_white_color_temperature"
|
|||
CONF_WATCHDOG_THRESHOLD = "watchdog_threshold"
|
||||
CONF_WEB_SERVER = "web_server"
|
||||
CONF_WEB_SERVER_ID = "web_server_id"
|
||||
CONF_WEB_SERVER_SORTING_WEIGHT = "web_server_sorting_weight"
|
||||
CONF_WEIGHT = "weight"
|
||||
CONF_WHILE = "while"
|
||||
CONF_WHITE = "white"
|
||||
|
@ -961,7 +949,6 @@ ICON_ACCELERATION_Y = "mdi:axis-y-arrow"
|
|||
ICON_ACCELERATION_Z = "mdi:axis-z-arrow"
|
||||
ICON_ACCOUNT = "mdi:account"
|
||||
ICON_ACCOUNT_CHECK = "mdi:account-check"
|
||||
ICON_AIR_FILTER = "mdi:air-filter"
|
||||
ICON_ARROW_EXPAND_VERTICAL = "mdi:arrow-expand-vertical"
|
||||
ICON_BATTERY = "mdi:battery"
|
||||
ICON_BLUETOOTH = "mdi:bluetooth"
|
||||
|
@ -983,7 +970,6 @@ ICON_FINGERPRINT = "mdi:fingerprint"
|
|||
ICON_FLASH = "mdi:flash"
|
||||
ICON_FLASK = "mdi:flask"
|
||||
ICON_FLASK_OUTLINE = "mdi:flask-outline"
|
||||
ICON_FLASK_ROUND_BOTTOM = "mdi:flask-round-bottom"
|
||||
ICON_FLOWER = "mdi:flower"
|
||||
ICON_GAS_CYLINDER = "mdi:gas-cylinder"
|
||||
ICON_GAUGE = "mdi:gauge"
|
||||
|
@ -996,9 +982,9 @@ ICON_KEY_PLUS = "mdi:key-plus"
|
|||
ICON_LIGHTBULB = "mdi:lightbulb"
|
||||
ICON_MAGNET = "mdi:magnet"
|
||||
ICON_MEMORY = "mdi:memory"
|
||||
ICON_MOLECULE_CO = "mdi:molecule-co"
|
||||
ICON_MOLECULE_CO2 = "mdi:molecule-co2"
|
||||
ICON_MOTION_SENSOR = "mdi:motion-sensor"
|
||||
ICON_SMOKE_SENSOR = "mdi:smoke-sensor" # added to support Xiaomi (Honeywell) smoke sensor JTYJGD03MI
|
||||
ICON_NEW_BOX = "mdi:new-box"
|
||||
ICON_OMEGA = "mdi:omega"
|
||||
ICON_PERCENT = "mdi:percent"
|
||||
|
@ -1058,7 +1044,6 @@ UNIT_KILOVOLT_AMPS_REACTIVE = "kVAR"
|
|||
UNIT_KILOVOLT_AMPS_REACTIVE_HOURS = "kVARh"
|
||||
UNIT_KILOWATT = "kW"
|
||||
UNIT_KILOWATT_HOURS = "kWh"
|
||||
UNIT_LITRE = "L"
|
||||
UNIT_LUX = "lx"
|
||||
UNIT_METER = "m"
|
||||
UNIT_METER_PER_SECOND_SQUARED = "m/s²"
|
||||
|
@ -1163,7 +1148,7 @@ DEVICE_CLASS_SAFETY = "safety"
|
|||
DEVICE_CLASS_SHADE = "shade"
|
||||
DEVICE_CLASS_SHUTTER = "shutter"
|
||||
DEVICE_CLASS_SIGNAL_STRENGTH = "signal_strength"
|
||||
DEVICE_CLASS_SMOKE = "smoke"
|
||||
DEVICE_CLASS_SMOKE = "smoke" # added to support Xiaomi (Honeywell) smoke sensor JTYJGD03MI
|
||||
DEVICE_CLASS_SOUND = "sound"
|
||||
DEVICE_CLASS_SOUND_PRESSURE = "sound_pressure"
|
||||
DEVICE_CLASS_SPEED = "speed"
|
||||
|
|
Loading…
Reference in a new issue