HA mqtt compatible setting

This commit is contained in:
MichaelDvP
2024-04-25 14:32:42 +02:00
parent 21488ad95a
commit 4f9a2fe1aa
6 changed files with 34 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ using mqtt_sub_function_p = std::function<bool(const char * message)>;
class Mqtt {
public:
enum discoveryType : uint8_t { HOMEASSISTANT, DOMOTICZ, DOMOTICZ_LATEST };
enum entityFormat : uint8_t { SINGLE_LONG, SINGLE_SHORT, MULTI_SHORT };
enum entityFormat : uint8_t { SINGLE_LONG, SINGLE_SHORT, MULTI_SHORT, SINGLE_OLD };
void loop();
void start();