Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
netmindz committed Oct 7, 2023
1 parent 88426be commit 800cd0c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions components/BalboaGLSensor/ESPBalboaGLSensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ namespace esphome {
class BalboaGLStateSensor : public TextSensor, public PollingComponent {
public:
BalboaGLStateSensor() : PollingComponent(15000) { }
// void setup() {};
void update() {
std::string state = status.state.c_str();
ESP_LOGD(TAG, state.c_str());
ESP_LOGD(TAG, "State: %s", state.c_str());
this->publish_state(state.c_str());
}

Expand All @@ -26,7 +25,6 @@ namespace esphome {
class BalboaGLRawSensor : public TextSensor, public PollingComponent {
public:
BalboaGLRawSensor() : PollingComponent(15000) { }
// void setup() {};
void update() {
this->publish_state(status.rawData.c_str());
}
Expand All @@ -36,7 +34,6 @@ namespace esphome {
class BalboaGLLCDSensor : public TextSensor, public PollingComponent {
public:
BalboaGLLCDSensor() : PollingComponent(15000) { }
// void setup() {};
void update() {
this->publish_state(status.lcd);
}
Expand Down

0 comments on commit 800cd0c

Please sign in to comment.