1
0
mirror of https://github.com/esphome/esphome.git synced 2024-10-07 03:11:00 +01:00

Merge pull request #4083 from esphome/bump-2022.11.3

2022.11.3
This commit is contained in:
Jesse Hills 2022-11-25 07:23:08 +13:00 committed by GitHub
commit 72b2943332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 3 deletions

View File

@ -113,7 +113,9 @@ CLIMATE_SCHEMA = cv.ENTITY_BASE_SCHEMA.extend(cv.MQTT_COMMAND_COMPONENT_SCHEMA).
{
cv.Optional(CONF_MIN_TEMPERATURE): cv.temperature,
cv.Optional(CONF_MAX_TEMPERATURE): cv.temperature,
cv.Optional(CONF_TEMPERATURE_STEP): cv.temperature,
cv.Optional(CONF_TEMPERATURE_STEP): cv.float_with_unit(
"visual_temperature", "(°C|° C|°|C|° K|° K|K|°F|° F|F)?"
),
}
),
cv.Optional(CONF_ACTION_STATE_TOPIC): cv.All(

View File

@ -86,6 +86,8 @@ async def to_code(config):
if CORE.is_esp32:
cg.add_library("WiFiClientSecure", None)
cg.add_library("HTTPClient", None)
if CORE.is_esp8266:
cg.add_library("ESP8266HTTPClient", None)
if CONF_TOUCH_SLEEP_TIMEOUT in config:
cg.add(var.set_touch_sleep_timeout_internal(config[CONF_TOUCH_SLEEP_TIMEOUT]))

View File

@ -1680,7 +1680,7 @@ def source_refresh(value: str):
if value.lower() == "always":
return source_refresh("0s")
if value.lower() == "never":
return source_refresh("1000y")
return source_refresh("365250d")
return positive_time_period_seconds(value)

View File

@ -1,6 +1,6 @@
"""Constants used by esphome."""
__version__ = "2022.11.2"
__version__ = "2022.11.3"
ALLOWED_NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-_"