ESPHome 2026.5.0b1
Loading...
Searching...
No Matches
status_led.h
Go to the documentation of this file.
1#pragma once
2
4#include "esphome/core/hal.h"
5
6namespace esphome::status_led {
7
8class StatusLED : public Component {
9 public:
10 explicit StatusLED(GPIOPin *pin);
11
12 void pre_setup();
13 void dump_config() override;
14 void loop() override;
15 float get_setup_priority() const override;
16
17 protected:
19};
20
21extern StatusLED *global_status_led; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
22
23} // namespace esphome::status_led
float get_setup_priority() const override
StatusLED * global_status_led