mirror of
https://github.com/GrKoR/esphome_aux_ac_component.git
synced 2025-12-10 21:46:59 +03:00
documentation update
This commit is contained in:
@@ -2152,7 +2152,7 @@ class AirCon : public esphome::Component, public esphome::climate::Climate {
|
||||
//traits.add_supported_swing_mode(ClimateSwingMode::CLIMATE_SWING_VERTICAL);
|
||||
//traits.add_supported_swing_mode(ClimateSwingMode::CLIMATE_SWING_BOTH);
|
||||
traits.add_supported_preset(ClimatePreset::CLIMATE_PRESET_NONE);
|
||||
traits.add_supported_preset(ClimatePreset::CLIMATE_PRESET_SLEEP);
|
||||
//traits.add_supported_preset(ClimatePreset::CLIMATE_PRESET_SLEEP);
|
||||
|
||||
/* *************** TODO: надо сделать информирование о текущем режиме, сплит поддерживает ***************
|
||||
* смотри climate::ClimateAction
|
||||
|
||||
@@ -71,7 +71,7 @@ CUSTOM_PRESETS = {
|
||||
validate_custom_presets = cv.enum(CUSTOM_PRESETS, upper=True)
|
||||
|
||||
def output_info(config):
|
||||
_LOGGER.info(config)
|
||||
"""_LOGGER.info(config)"""
|
||||
return config
|
||||
|
||||
CONFIG_SCHEMA = cv.All(
|
||||
@@ -104,6 +104,8 @@ CONFIG_SCHEMA = cv.All(
|
||||
)
|
||||
|
||||
async def to_code(config):
|
||||
"""_LOGGER.info("--------------")"""
|
||||
"""_LOGGER.info(config)"""
|
||||
var = cg.new_Pvariable(config[CONF_ID])
|
||||
await cg.register_component(var, config)
|
||||
await climate.register_climate(var, config)
|
||||
|
||||
Reference in New Issue
Block a user