mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
product-id 100 is mixer with max wwc10, add handlers_ignored
This commit is contained in:
@@ -177,12 +177,13 @@ class EMSdevice {
|
||||
std::string to_string() const;
|
||||
std::string to_string_short() const;
|
||||
|
||||
enum Handlers : uint8_t { ALL, RECEIVED, FETCHED, PENDING };
|
||||
enum Handlers : uint8_t { ALL, RECEIVED, FETCHED, PENDING, IGNORED };
|
||||
|
||||
void show_telegram_handlers(uuid::console::Shell & shell) const;
|
||||
char * show_telegram_handlers(char * result, const size_t len, const uint8_t handlers);
|
||||
void show_mqtt_handlers(uuid::console::Shell & shell) const;
|
||||
void list_device_entries(JsonObject & output) const;
|
||||
void add_handlers_ignored(const uint16_t handler);
|
||||
|
||||
void mask_entity(const std::string & entity_id);
|
||||
void getMaskedEntities(std::vector<std::string> & entity_ids);
|
||||
@@ -385,6 +386,8 @@ class EMSdevice {
|
||||
|
||||
// device values
|
||||
std::vector<DeviceValue> devicevalues_;
|
||||
|
||||
std::vector<uint16_t> handlers_ignored_;
|
||||
};
|
||||
|
||||
} // namespace emsesp
|
||||
|
||||
Reference in New Issue
Block a user