mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
HA MQTT changes
This commit is contained in:
@@ -100,6 +100,7 @@ class Mqtt {
|
||||
|
||||
static void register_mqtt_ha_binary_sensor(const __FlashStringHelper * name, const uint8_t device_type, const char * entity);
|
||||
static void register_mqtt_ha_sensor(const char * prefix,
|
||||
const __FlashStringHelper * suffix,
|
||||
const __FlashStringHelper * name,
|
||||
const uint8_t device_type,
|
||||
const char * entity,
|
||||
@@ -145,6 +146,10 @@ class Mqtt {
|
||||
return mqtt_format_;
|
||||
}
|
||||
|
||||
static AsyncMqttClient * client() {
|
||||
return mqttClient_;
|
||||
}
|
||||
|
||||
private:
|
||||
static uuid::log::Logger logger_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user