mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
SO59 support for Power0
This commit is contained in:
parent
0b9f5a8373
commit
612e2be2db
@ -369,6 +369,9 @@ void CmndPower(void)
|
|||||||
XdrvMailbox.payload = POWER_SHOW_STATE;
|
XdrvMailbox.payload = POWER_SHOW_STATE;
|
||||||
}
|
}
|
||||||
SetAllPower(XdrvMailbox.payload, SRC_IGNORE);
|
SetAllPower(XdrvMailbox.payload, SRC_IGNORE);
|
||||||
|
if (Settings.flag3.hass_tele_on_power) { // SetOption59 - Send tele/%topic%/STATE in addition to stat/%topic%/RESULT
|
||||||
|
MqttPublishTeleState();
|
||||||
|
}
|
||||||
mqtt_data[0] = '\0';
|
mqtt_data[0] = '\0';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user