From f80d2ede3aaf69b15dd88e5a4ff73c960995e049 Mon Sep 17 00:00:00 2001 From: Peter Halicky Date: Tue, 26 May 2020 18:20:46 +0200 Subject: [PATCH] fix default power state logic invoked even if already serviced by a driver --- tasmota/support_tasmota.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/support_tasmota.ino b/tasmota/support_tasmota.ino index 08a2ac6ca..049d5f9e9 100644 --- a/tasmota/support_tasmota.ino +++ b/tasmota/support_tasmota.ino @@ -222,8 +222,8 @@ void SetDevicePower(power_t rpower, uint32_t source) else if (EXS_RELAY == my_module_type) { SetLatchingRelay(rpower, 1); } - else #endif // ESP8266 + else { for (uint32_t i = 0; i < devices_present; i++) { power_t state = rpower &1;