mirror of
https://github.com/GrKoR/esphome_aux_ac_component.git
synced 2025-12-06 11:36:55 +03:00
fix (#152): WARNING Using climate.CLIMATE_SCHEMA is deprecated
This commit is contained in:
@@ -190,7 +190,7 @@ def output_info(config):
|
||||
|
||||
|
||||
CONFIG_SCHEMA = cv.All(
|
||||
climate.CLIMATE_SCHEMA.extend(
|
||||
climate.climate_schema(climate.Climate).extend(
|
||||
{
|
||||
cv.GenerateID(): cv.declare_id(AirCon),
|
||||
cv.Optional(CONF_PERIOD, default="7s"): cv.time_period,
|
||||
|
||||
Reference in New Issue
Block a user