mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 18:18:43 +00:00
14 lines
396 B
C++
14 lines
396 B
C++
#include "climate_traits.h"
|
|
|
|
namespace esphome::climate {
|
|
|
|
int8_t ClimateTraits::get_target_temperature_accuracy_decimals() const {
|
|
return step_to_accuracy_decimals(this->visual_target_temperature_step_);
|
|
}
|
|
|
|
int8_t ClimateTraits::get_current_temperature_accuracy_decimals() const {
|
|
return step_to_accuracy_decimals(this->visual_current_temperature_step_);
|
|
}
|
|
|
|
} // namespace esphome::climate
|