mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-07 13:24:56 +02:00
Hydreon updates (#5424)
This commit is contained in:
@@ -49,6 +49,8 @@ class HydreonRGxxComponent : public PollingComponent, public uart::UARTDevice {
|
||||
|
||||
float get_setup_priority() const override;
|
||||
|
||||
void set_disable_led(bool disable_led) { this->disable_led_ = disable_led; }
|
||||
|
||||
protected:
|
||||
void process_line_();
|
||||
void schedule_reboot_();
|
||||
@@ -72,6 +74,7 @@ class HydreonRGxxComponent : public PollingComponent, public uart::UARTDevice {
|
||||
bool lens_bad_ = false;
|
||||
bool em_sat_ = false;
|
||||
bool request_temperature_ = false;
|
||||
bool disable_led_ = false;
|
||||
|
||||
// bit field showing which sensors we have received data for
|
||||
int sensors_received_ = -1;
|
||||
|
||||
Reference in New Issue
Block a user