mirror of
https://github.com/esphome/esphome.git
synced 2024-12-28 17:37:44 +01:00
Update esphome/components/status_indicator/status_indicator.h
This commit is contained in:
parent
12251b6515
commit
cea3f4677a
@ -12,14 +12,14 @@ class StatusTrigger;
|
||||
|
||||
union StatusFlags {
|
||||
struct {
|
||||
int on_error : 1;
|
||||
int on_warning : 1;
|
||||
int on_network : 1;
|
||||
int on_api : 1;
|
||||
int on_mqtt : 1;
|
||||
int on_wifi_ap : 1;
|
||||
uint16_t on_error : 1;
|
||||
uint16_t on_warning : 1;
|
||||
uint16_t on_network : 1;
|
||||
uint16_t on_api : 1;
|
||||
uint16_t on_mqtt : 1;
|
||||
uint16_t on_wifi_ap : 1;
|
||||
};
|
||||
int setter = 0;
|
||||
uint16_t setter = 0;
|
||||
};
|
||||
|
||||
class StatusIndicator : public Component {
|
||||
|
Loading…
Reference in New Issue
Block a user