Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
netmindz committed Oct 17, 2023
1 parent b58fa84 commit 2e20380
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
2 changes: 2 additions & 0 deletions components/BalboaGL/BalboaGLSelect.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#include "esphome/core/component.h"
#include "esphome/components/select/select.h"

Expand Down
3 changes: 3 additions & 0 deletions components/BalboaGL/BalboaGLSwitch.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#pragma once


#include "esphome/core/component.h"
#include "esphome/components/switch/switch.h"

Expand Down
12 changes: 6 additions & 6 deletions components/BalboaGL/ESPBalboaGL.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ class BalboaGL : public PollingComponent, public climate::Climate {
//ESP8266 or UART0 on ESP32
void check_logger_conflict_();

BalboaGLPump1Select pump1;
BalboaGLPump2Select pump2;
BalboaGLLightSwitch lightSwitch;
BalboaGLStateSensor stateSensor;
BalboaGLRawSensor rawSensor;
BalboaGLLCDSensor lcdSensor;
// esphome::balboa_select::BalboaGLPump1Select pump1;
// esphome::balboa_select::BalboaGLPump2Select pump2;
esphome::balboa_switch::BalboaGLLightSwitch lightSwitch;
esphome::balboa_sensor::BalboaGLStateSensor stateSensor;
esphome::balboa_sensor::BalboaGLRawSensor rawSensor;
esphome::balboa_sensor::BalboaGLLCDSensor lcdSensor;

int rx_pin = -1;
int tx_pin = -1;
Expand Down
3 changes: 3 additions & 0 deletions components/BalboaGL/ESPBalboaGLSensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

#include "esphome.h"
#include "esphome/components/text_sensor/text_sensor.h"
#include "esp_log.h"
#include "balboaGL.h"

extern struct BalboaStatus status;

namespace esphome {
namespace balboa_sensor {
Expand Down

0 comments on commit 2e20380

Please sign in to comment.