Update esphome/components/status_indicator/status_indicator.h

This commit is contained in:
NP v/d Spek 2024-12-21 16:50:48 +01:00 committed by GitHub
parent 12251b6515
commit cea3f4677a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {