ESPHome 2026.5.0-dev
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 {
7namespace status_led {
8
9class StatusLED : public Component {
10 public:
11 explicit StatusLED(GPIOPin *pin);
12
13 void pre_setup();
14 void dump_config() override;
15 void loop() override;
16 float get_setup_priority() const override;
17
18 protected:
20};
21
22extern StatusLED *global_status_led; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
23
24} // namespace status_led
25} // namespace esphome
float get_setup_priority() const override
StatusLED * global_status_led
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7