mirror of
https://github.com/GrKoR/esphome_aux_ac_component.git
synced 2025-12-11 05:57:01 +03:00
added firmware version output in dump_conf
This commit is contained in:
@@ -1838,7 +1838,7 @@ class AirCon : public esphome::Component, public esphome::climate::Climate {
|
|||||||
// вывод в дебаг текущей конфигурации компонента
|
// вывод в дебаг текущей конфигурации компонента
|
||||||
void dump_config() {
|
void dump_config() {
|
||||||
ESP_LOGCONFIG(Constants::TAG, "AUX HVAC:");
|
ESP_LOGCONFIG(Constants::TAG, "AUX HVAC:");
|
||||||
ESP_LOGCONFIG(Constants::TAG, " [x] Firmware version: %s", &Constants::AC_ROVEX_FIRMWARE_VERSION);
|
ESP_LOGCONFIG(Constants::TAG, " [x] Firmware version: %s", Constants::AC_ROVEX_FIRMWARE_VERSION.c_str());
|
||||||
ESP_LOGCONFIG(Constants::TAG, " [x] Period: %dms", this->get_period());
|
ESP_LOGCONFIG(Constants::TAG, " [x] Period: %dms", this->get_period());
|
||||||
ESP_LOGCONFIG(Constants::TAG, " [x] Show action: %s", this->get_show_action() ? "true" : "false");
|
ESP_LOGCONFIG(Constants::TAG, " [x] Show action: %s", this->get_show_action() ? "true" : "false");
|
||||||
if ((this->sensor_indoor_temperature_) != nullptr) {
|
if ((this->sensor_indoor_temperature_) != nullptr) {
|
||||||
|
|||||||
@@ -33,6 +33,9 @@ api:
|
|||||||
ota:
|
ota:
|
||||||
password: !secret ota_pass
|
password: !secret ota_pass
|
||||||
|
|
||||||
|
web_server:
|
||||||
|
port: 80
|
||||||
|
|
||||||
uart:
|
uart:
|
||||||
id: ac_uart_bus
|
id: ac_uart_bus
|
||||||
tx_pin: GPIO1
|
tx_pin: GPIO1
|
||||||
@@ -56,7 +59,7 @@ climate:
|
|||||||
indoor_temperature: # сенсор, показывающий температуру воздуха на внутреннем блоке кондиционера; имеет все те же параметры, как и любой сенсор ESPHome
|
indoor_temperature: # сенсор, показывающий температуру воздуха на внутреннем блоке кондиционера; имеет все те же параметры, как и любой сенсор ESPHome
|
||||||
name: AC Indoor Temperature
|
name: AC Indoor Temperature
|
||||||
id: ac_indoor_temp
|
id: ac_indoor_temp
|
||||||
internal: true # сенсор установлен как внутренний по дефолту (не попадёт в Home Assistant)
|
internal: false # сенсор установлен как внутренний по дефолту (не попадёт в Home Assistant)
|
||||||
visual:
|
visual:
|
||||||
min_temperature: 16
|
min_temperature: 16
|
||||||
max_temperature: 32
|
max_temperature: 32
|
||||||
|
|||||||
@@ -33,6 +33,9 @@ api:
|
|||||||
ota:
|
ota:
|
||||||
password: !secret ota_pass
|
password: !secret ota_pass
|
||||||
|
|
||||||
|
web_server:
|
||||||
|
port: 80
|
||||||
|
|
||||||
uart:
|
uart:
|
||||||
id: ac_uart_bus
|
id: ac_uart_bus
|
||||||
tx_pin: GPIO1
|
tx_pin: GPIO1
|
||||||
|
|||||||
Reference in New Issue
Block a user