mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 20:56:35 +00:00
Merge pull request #7511 from to-scho/enhancement/mqtt_shutterposition_stat
Change MQTT reporting of instantaneous shutter position from tele to …
This commit is contained in:
commit
e9ee274082
@ -265,7 +265,7 @@ void ShutterReportPosition(bool always)
|
|||||||
}
|
}
|
||||||
ResponseJsonEnd();
|
ResponseJsonEnd();
|
||||||
if (always || (1 == shutter_moving)) {
|
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) {
|
if (rules_flag.shutter_moving > shutter_moving) {
|
||||||
rules_flag.shutter_moved = 1;
|
rules_flag.shutter_moved = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user