Public Access
Bugfix 2026.7.0.
This commit is contained in:
1 parent
c69b2e0754
commit
74cdb3d56f
4 files changed
+101
-167
No files matched your search
@@ -40,6 +40,9 @@ class GoldenMateProtocol : public UpsProtocolBase {
|
||||
static const uint8_t REPORT_ID_STATUS = 0x01;
|
||||
static const uint8_t REPORT_ID_MEGATEC = 0x0C;
|
||||
|
||||
bool is_full_ = true;
|
||||
int below_100_count_ = 0;
|
||||
|
||||
struct HidReport {
|
||||
uint8_t report_id;
|
||||
std::vector<uint8_t> data;
|
||||
@@ -52,4 +55,4 @@ class GoldenMateProtocol : public UpsProtocolBase {
|
||||
};
|
||||
|
||||
} // namespace ups_hid
|
||||
} // namespace esphome
|
||||
} // namespace esphome
|
||||
Reference in new issue
Block a user