thermferm/thermferm.c

changeset 572
0df7fcb36b76
parent 571
6f8eda55ec2c
child 575
86496d2bc4bb
--- a/thermferm/thermferm.c	Sat Jan 19 11:38:09 2019 +0100
+++ b/thermferm/thermferm.c	Sat Jan 19 20:12:56 2019 +0100
@@ -1845,9 +1845,9 @@
 			publishDBirth(unit);
 			unit->mqtt_flag &= ~MQTT_FLAG_BIRTH;
 		    } else {
-			if (unit->mode != UNITMODE_OFF) {
+//			if (unit->mode != UNITMODE_OFF) {
 			    publishDData(unit);
-			}
+//			}
 			unit->mqtt_flag &= ~MQTT_FLAG_DATA;
 		    }
 		    if (unit->mqtt_flag & MQTT_FLAG_DEATH) {

mercurial