From d16cdb108c29af970b4774ec99168d8f0c5a6032 Mon Sep 17 00:00:00 2001 From: stefanbode Date: Mon, 3 Aug 2020 18:08:49 +0200 Subject: [PATCH] Added required hooks --- tasmota/support_tasmota.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasmota/support_tasmota.ino b/tasmota/support_tasmota.ino index db4ce592f..1c790fd57 100644 --- a/tasmota/support_tasmota.ino +++ b/tasmota/support_tasmota.ino @@ -207,6 +207,7 @@ void SetDevicePower(power_t rpower, uint32_t source) XdrvMailbox.index = rpower; XdrvCall(FUNC_SET_POWER); // Signal power state + XsnsCall(FUNC_SET_POWER); // Signal power state XdrvMailbox.index = rpower; XdrvMailbox.payload = source; @@ -1746,4 +1747,5 @@ void GpioInit(void) SetLedLink(Settings.ledstate &8); XdrvCall(FUNC_PRE_INIT); + XsnsCall(FUNC_PRE_INIT); }