Bugfix 2026.7.0.

This commit is contained in:
Roy Walker committed 2026-07-17 13:36:06 -05:00
1 parent c69b2e0754
commit 74cdb3d56f
4 files changed
+101 -167

No files matched your search

+4 -1
View File
@@ -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