ESPHome 2026.11.0b6
Loading...
Searching...
No Matches
ruuvitag.cpp
Go to the documentation of this file.
1#include "ruuvitag.h"
2#include "esphome/core/log.h"
3
5
6ESPHOME_LOG_TAG(TAG, "ruuvitag");
7
8void RuuviTag::dump_config() {
9 ESP_LOGCONFIG(TAG, "RuuviTag");
10 LOG_SENSOR(" ", "Humidity", this->humidity_sensor_);
11 LOG_SENSOR(" ", "Temperature", this->temperature_sensor_);
12 LOG_SENSOR(" ", "Pressure", this->pressure_sensor_);
13 LOG_SENSOR(" ", "Acceleration", this->acceleration_sensor_);
14 LOG_SENSOR(" ", "Acceleration X", this->acceleration_x_sensor_);
15 LOG_SENSOR(" ", "Acceleration Y", this->acceleration_y_sensor_);
16 LOG_SENSOR(" ", "Acceleration Z", this->acceleration_z_sensor_);
17 LOG_SENSOR(" ", "Battery Voltage", this->battery_voltage_sensor_);
18 LOG_SENSOR(" ", "TX Power", this->tx_power_sensor_);
19 LOG_SENSOR(" ", "Movement Counter", this->movement_counter_sensor_);
20 LOG_SENSOR(" ", "Measurement Sequence Number", this->measurement_sequence_number_sensor_);
21}
22
23} // namespace esphome::ruuvitag
ESPHOME_LOG_TAG(TAG, "ruuvitag")