Removed dump_config for sensor, number and button from maidsite desk component
This commit is contained in:
parent
80a825199e
commit
c29a39cba2
|
|
@ -8,7 +8,6 @@ namespace esphome
|
|||
{
|
||||
namespace maidsite_desk
|
||||
{
|
||||
class MaidsiteDeskComponent;
|
||||
class MaidsiteDeskButton : public button::Button, public Parented<MaidsiteDeskComponent>
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -10,39 +10,6 @@ namespace esphome
|
|||
void MaidsiteDeskComponent::dump_config()
|
||||
{
|
||||
ESP_LOGCONFIG(TAG, "Maidsite Desk");
|
||||
|
||||
#ifdef USE_SENSOR
|
||||
LOG_SENSOR("", "Maidsite Desk Sensor", this->unit_sensor_);
|
||||
LOG_SENSOR("", "Maidsite Desk Sensor", this->height_abs_sensor_);
|
||||
LOG_SENSOR("", "Maidsite Desk Sensor", this->height_pct_sensor_);
|
||||
LOG_SENSOR("", "Maidsite Desk Sensor", this->height_min_sensor_);
|
||||
LOG_SENSOR("", "Maidsite Desk Sensor", this->height_max_sensor_);
|
||||
LOG_SENSOR("", "Maidsite Desk Sensor", this->position_m1_sensor_);
|
||||
LOG_SENSOR("", "Maidsite Desk Sensor", this->position_m2_sensor_);
|
||||
LOG_SENSOR("", "Maidsite Desk Sensor", this->position_m3_sensor_);
|
||||
LOG_SENSOR("", "Maidsite Desk Sensor", this->position_m4_sensor_);
|
||||
#endif
|
||||
#ifdef USE_BUTTON
|
||||
LOG_BUTTON("", "Maidsite Desk Button", this->unit_button_);
|
||||
LOG_BUTTON("", "Maidsite Desk Button", this->step_up_button_);
|
||||
LOG_BUTTON("", "Maidsite Desk Button", this->step_down_button_);
|
||||
LOG_BUTTON("", "Maidsite Desk Button", this->stop_button_);
|
||||
LOG_BUTTON("", "Maidsite Desk Button", this->goto_max_button_);
|
||||
LOG_BUTTON("", "Maidsite Desk Button", this->goto_min_button_);
|
||||
LOG_BUTTON("", "Maidsite Desk Button", this->goto_m1_button_);
|
||||
LOG_BUTTON("", "Maidsite Desk Button", this->goto_m2_button_);
|
||||
LOG_BUTTON("", "Maidsite Desk Button", this->goto_m3_button_);
|
||||
LOG_BUTTON("", "Maidsite Desk Button", this->goto_m4_button_);
|
||||
LOG_BUTTON("", "Maidsite Desk Button", this->save_m1_button_);
|
||||
LOG_BUTTON("", "Maidsite Desk Button", this->save_m2_button_);
|
||||
LOG_BUTTON("", "Maidsite Desk Button", this->save_m3_button_);
|
||||
LOG_BUTTON("", "Maidsite Desk Button", this->save_m4_button_);
|
||||
LOG_BUTTON("", "Maidsite Desk Button", this->save_m4_button_);
|
||||
#endif
|
||||
#ifdef USE_NUMBER
|
||||
LOG_NUMBER("", "Maidsite Desk Number", this->height_abs_number_);
|
||||
LOG_NUMBER("", "Maidsite Desk Number", this->height_pct_number_);
|
||||
#endif
|
||||
}
|
||||
|
||||
void MaidsiteDeskComponent::setup()
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ namespace esphome
|
|||
{
|
||||
namespace maidsite_desk
|
||||
{
|
||||
class MaidsiteDeskComponent;
|
||||
class MaidsiteDeskNumber : public number::Number, public Parented<MaidsiteDeskComponent>
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ namespace esphome
|
|||
{
|
||||
namespace maidsite_desk
|
||||
{
|
||||
class MaidsiteDeskComponent;
|
||||
class MaidsiteDeskSensor : public sensor::Sensor, public Component, public Parented<MaidsiteDeskComponent>
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
Loading…
Reference in New Issue