mirror of
https://github.com/esphome/esphome.git
synced 2026-02-18 15:35:59 -07:00
Update esphome/components/mqtt/mqtt_component.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -188,7 +188,7 @@ class MQTTComponent : public Component {
|
||||
|
||||
/** Get this components state/command/... topic into a buffer.
|
||||
*
|
||||
* @param buf The buffer to write to (must be at least DEFAULT_TOPIC_MAX_LEN).
|
||||
* @param buf The buffer to write to (must be exactly MQTT_DEFAULT_TOPIC_MAX_LEN).
|
||||
* @param suffix The suffix/key such as "state" or "command".
|
||||
* @return StringRef pointing to the buffer with the topic.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user