mirror of
https://github.com/GrKoR/esphome_aux_ac_component.git
synced 2025-12-12 14:37:11 +03:00
minor changes
This commit is contained in:
@@ -27,7 +27,7 @@ using climate::ClimateFanMode;
|
|||||||
|
|
||||||
class Constants {
|
class Constants {
|
||||||
public:
|
public:
|
||||||
static const std::string AC_ROVEX_FIRMWARE_VERSION;
|
static const std::string AC_FIRMWARE_VERSION;
|
||||||
|
|
||||||
static const char *const TAG;
|
static const char *const TAG;
|
||||||
static const std::string MUTE;
|
static const std::string MUTE;
|
||||||
@@ -49,7 +49,7 @@ public:
|
|||||||
static const uint32_t AC_STATES_REQUEST_INTERVAL;
|
static const uint32_t AC_STATES_REQUEST_INTERVAL;
|
||||||
};
|
};
|
||||||
|
|
||||||
const std::string Constants::AC_ROVEX_FIRMWARE_VERSION = "0.2.1";
|
const std::string Constants::AC_FIRMWARE_VERSION = "0.2.1";
|
||||||
const char *const Constants::TAG = "AirCon";
|
const char *const Constants::TAG = "AirCon";
|
||||||
const std::string Constants::MUTE = "mute";
|
const std::string Constants::MUTE = "mute";
|
||||||
const std::string Constants::TURBO = "turbo";
|
const std::string Constants::TURBO = "turbo";
|
||||||
@@ -1874,7 +1874,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.c_str());
|
ESP_LOGCONFIG(Constants::TAG, " [x] Firmware version: %s", Constants::AC_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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user