mirror of
https://github.com/wled/WLED.git
synced 2025-07-19 08:46:34 +00:00
commit
d230be3e1c
@ -120,7 +120,7 @@ class UsermodTemperature : public Usermod {
|
|||||||
getTemperature();
|
getTemperature();
|
||||||
|
|
||||||
if (WLED_MQTT_CONNECTED) {
|
if (WLED_MQTT_CONNECTED) {
|
||||||
char subuf[38];
|
char subuf[45];
|
||||||
strcpy(subuf, mqttDeviceTopic);
|
strcpy(subuf, mqttDeviceTopic);
|
||||||
if (-100 <= temperature) {
|
if (-100 <= temperature) {
|
||||||
// dont publish super low temperature as the graph will get messed up
|
// dont publish super low temperature as the graph will get messed up
|
||||||
|
Loading…
x
Reference in New Issue
Block a user