diff --git a/code/espurna/light.cpp b/code/espurna/light.cpp index 496e21b9..60082528 100644 --- a/code/espurna/light.cpp +++ b/code/espurna/light.cpp @@ -2586,7 +2586,7 @@ void _lightWebSocketOnVisible(JsonObject& root) { const auto Channels = _light_channels.size(); for (size_t index = 0; index < Channels; ++index) { - channels.add(_lightTag(Channels, index)); + channels.add(String(_lightTag(Channels, index))); } if (_light_use_cct) {