mirror of https://github.com/arendst/Tasmota.git
Change MQTT reporting of instantaneous shutter position from tele to stat
This commit is contained in:
parent
0db458c774
commit
64d3d0c075
|
@ -265,7 +265,7 @@ void ShutterReportPosition(bool always)
|
|||
}
|
||||
ResponseJsonEnd();
|
||||
if (always || (1 == shutter_moving)) {
|
||||
MqttPublishPrefixTopic_P(RESULT_OR_TELE, PSTR(D_PRFX_SHUTTER));
|
||||
MqttPublishPrefixTopic_P(RESULT_OR_STAT, PSTR(D_PRFX_SHUTTER));
|
||||
}
|
||||
if (rules_flag.shutter_moving > shutter_moving) {
|
||||
rules_flag.shutter_moved = 1;
|
||||
|
|
Loading…
Reference in New Issue