mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-11-05 09:20:08 +01:00
std::to_string() triggers an error on compile (#1539)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
5a3c0cbfec
commit
075f653fbc
@ -188,7 +188,7 @@ using ``message`` (``const char *``), ``level`` (``int``) and ``tag`` (``const c
|
||||
- mqtt.publish:
|
||||
topic: some/topic
|
||||
payload: !lambda |-
|
||||
return "Triggered on_message with level " + std::to_string(level) + ", tag " + tag + " and message " + message;
|
||||
return "Triggered on_message with level " + to_string(level) + ", tag " + tag + " and message " + message;
|
||||
|
||||
.. note::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user