diff --git a/README-EN.md b/README-EN.md index 589a93d..bf19ed3 100644 --- a/README-EN.md +++ b/README-EN.md @@ -24,6 +24,7 @@ These ACs were tested by the author or by users. + Roda (models: RS-AL09F) + Rovex (models: RS-07ALS1, RS-09ALS1, RS-12ALS1) + Samurai (models: SMA-07HRN1 ION, SMA-09HRN1 ION) ++ Subtropic (models: SUB-07HN1_18Y) ### List of potential compatible ACs ### diff --git a/README.md b/README.md index 9748581..a18c68b 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ Readme in english [is here](README-EN.md#esphome-aux-air-conditioner-custom-comp + Roda (models: RS-AL09F) + Rovex (models: RS-07ALS1, RS-09ALS1, RS-12ALS1) + Samurai (models: SMA-07HRN1 ION, SMA-09HRN1 ION) ++ Subtropic (models: SUB-07HN1_18Y) ### Список потенциально совместимых кондиционеров ### diff --git a/components/aux_ac/aux_ac.h b/components/aux_ac/aux_ac.h index 4c0860c..5a2e249 100644 --- a/components/aux_ac/aux_ac.h +++ b/components/aux_ac/aux_ac.h @@ -1838,6 +1838,7 @@ class AirCon : public esphome::Component, public esphome::climate::Climate { // вывод в дебаг текущей конфигурации компонента void dump_config() { ESP_LOGCONFIG(Constants::TAG, "AUX HVAC:"); + ESP_LOGCONFIG(Constants::TAG, " [x] Firmware version: %s", &Constants::AC_ROVEX_FIRMWARE_VERSION); ESP_LOGCONFIG(Constants::TAG, " [x] Period: %dms", this->get_period()); ESP_LOGCONFIG(Constants::TAG, " [x] Show action: %s", this->get_show_action() ? "true" : "false"); if ((this->sensor_indoor_temperature_) != nullptr) { diff --git a/components/aux_ac/climate.py b/components/aux_ac/climate.py index 11f5852..ce29db8 100644 --- a/components/aux_ac/climate.py +++ b/components/aux_ac/climate.py @@ -10,6 +10,7 @@ from esphome.const import ( CONF_CUSTOM_PRESETS, CONF_INTERNAL, UNIT_CELSIUS, + ICON_THERMOMETER, DEVICE_CLASS_TEMPERATURE, STATE_CLASS_MEASUREMENT, ) @@ -21,7 +22,7 @@ from esphome.components.climate import ( _LOGGER = logging.getLogger(__name__) CODEOWNERS = ["@GrKoR"] -DEPENDENCIES = ["climate", "uart"] +DEPENDENCIES = ["climate", "uart", "sensor"] CONF_SUPPORTED_MODES = 'supported_modes' CONF_SUPPORTED_SWING_MODES = 'supported_swing_modes' @@ -80,6 +81,7 @@ CONFIG_SCHEMA = cv.All( cv.Optional(CONF_SHOW_ACTION, default="true"): cv.boolean, cv.Optional(CONF_INDOOR_TEMPERATURE): sensor.sensor_schema( unit_of_measurement=UNIT_CELSIUS, + icon=ICON_THERMOMETER, accuracy_decimals=1, device_class=DEVICE_CLASS_TEMPERATURE, state_class=STATE_CLASS_MEASUREMENT,