mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-31 10:08:27 +02:00
Merge branch 'dev' into bump-2021.12.0b1
This commit is contained in:
+11
-24
@@ -1,6 +1,6 @@
|
||||
"""Constants used by esphome."""
|
||||
|
||||
__version__ = "2021.11.4"
|
||||
__version__ = "2021.12.0-dev"
|
||||
|
||||
ALLOWED_NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-_"
|
||||
|
||||
@@ -8,31 +8,11 @@ PLATFORM_ESP32 = "esp32"
|
||||
PLATFORM_ESP8266 = "esp8266"
|
||||
|
||||
TARGET_PLATFORMS = [PLATFORM_ESP32, PLATFORM_ESP8266]
|
||||
TARGET_FRAMEWORKS = ["arduino", "esp-idf"]
|
||||
|
||||
# See also https://github.com/platformio/platform-espressif8266/releases
|
||||
ARDUINO_VERSION_ESP8266 = {
|
||||
"dev": "https://github.com/platformio/platform-espressif8266.git",
|
||||
"3.0.1": "platformio/espressif8266@3.1.0",
|
||||
"3.0.0": "platformio/espressif8266@3.0.0",
|
||||
"2.7.4": "platformio/espressif8266@2.6.2",
|
||||
"2.7.3": "platformio/espressif8266@2.6.1",
|
||||
"2.7.2": "platformio/espressif8266@2.6.0",
|
||||
"2.7.1": "platformio/espressif8266@2.5.3",
|
||||
"2.7.0": "platformio/espressif8266@2.5.0",
|
||||
"2.6.3": "platformio/espressif8266@2.4.0",
|
||||
"2.6.2": "platformio/espressif8266@2.3.1",
|
||||
"2.6.1": "platformio/espressif8266@2.3.0",
|
||||
"2.5.2": "platformio/espressif8266@2.2.3",
|
||||
"2.5.1": "platformio/espressif8266@2.1.1",
|
||||
"2.5.0": "platformio/espressif8266@2.0.4",
|
||||
"2.4.2": "platformio/espressif8266@1.8.0",
|
||||
"2.4.1": "platformio/espressif8266@1.7.3",
|
||||
"2.4.0": "platformio/espressif8266@1.6.0",
|
||||
"2.3.0": "platformio/espressif8266@1.5.0",
|
||||
}
|
||||
SOURCE_FILE_EXTENSIONS = {".cpp", ".hpp", ".h", ".c", ".tcc", ".ino"}
|
||||
HEADER_FILE_EXTENSIONS = {".h", ".hpp", ".tcc"}
|
||||
SECRETS_FILES = {"secrets.yaml", "secrets.yml"}
|
||||
|
||||
|
||||
|
||||
CONF_ABOVE = "above"
|
||||
@@ -189,6 +169,7 @@ CONF_DISABLED_BY_DEFAULT = "disabled_by_default"
|
||||
CONF_DISCOVERY = "discovery"
|
||||
CONF_DISCOVERY_PREFIX = "discovery_prefix"
|
||||
CONF_DISCOVERY_RETAIN = "discovery_retain"
|
||||
CONF_DISCOVERY_UNIQUE_ID_GENERATOR = "discovery_unique_id_generator"
|
||||
CONF_DISTANCE = "distance"
|
||||
CONF_DITHER = "dither"
|
||||
CONF_DIV_RATIO = "div_ratio"
|
||||
@@ -306,6 +287,7 @@ CONF_ILLUMINANCE = "illuminance"
|
||||
CONF_IMPEDANCE = "impedance"
|
||||
CONF_IMPORT_ACTIVE_ENERGY = "import_active_energy"
|
||||
CONF_IMPORT_REACTIVE_ENERGY = "import_reactive_energy"
|
||||
CONF_INCLUDE_INTERNAL = "include_internal"
|
||||
CONF_INCLUDES = "includes"
|
||||
CONF_INDEX = "index"
|
||||
CONF_INDOOR = "indoor"
|
||||
@@ -598,6 +580,7 @@ CONF_SEND_EVERY = "send_every"
|
||||
CONF_SEND_FIRST_AT = "send_first_at"
|
||||
CONF_SENSING_PIN = "sensing_pin"
|
||||
CONF_SENSOR = "sensor"
|
||||
CONF_SENSOR_DATAPOINT = "sensor_datapoint"
|
||||
CONF_SENSOR_ID = "sensor_id"
|
||||
CONF_SENSORS = "sensors"
|
||||
CONF_SEQUENCE = "sequence"
|
||||
@@ -883,7 +866,6 @@ DEVICE_CLASS_SAFETY = "safety"
|
||||
DEVICE_CLASS_SMOKE = "smoke"
|
||||
DEVICE_CLASS_SOUND = "sound"
|
||||
DEVICE_CLASS_TAMPER = "tamper"
|
||||
DEVICE_CLASS_UPDATE = "update"
|
||||
DEVICE_CLASS_VIBRATION = "vibration"
|
||||
DEVICE_CLASS_WINDOW = "window"
|
||||
# device classes of both binary_sensor and sensor component
|
||||
@@ -915,6 +897,11 @@ DEVICE_CLASS_TEMPERATURE = "temperature"
|
||||
DEVICE_CLASS_TIMESTAMP = "timestamp"
|
||||
DEVICE_CLASS_VOLATILE_ORGANIC_COMPOUNDS = "volatile_organic_compounds"
|
||||
DEVICE_CLASS_VOLTAGE = "voltage"
|
||||
# device classes of both binary_sensor and button component
|
||||
DEVICE_CLASS_UPDATE = "update"
|
||||
# device classes of button component
|
||||
DEVICE_CLASS_RESTART = "restart"
|
||||
|
||||
|
||||
# state classes
|
||||
STATE_CLASS_NONE = ""
|
||||
|
||||
Reference in New Issue
Block a user