mirror of https://github.com/arendst/Tasmota.git
Merge pull request #8553 from phjr/fix-device-power-on-esp8266
fix default power state logic invoked even if already serviced by a d…
This commit is contained in:
commit
32a39b828c
|
@ -225,8 +225,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;
|
||||
|
|
Loading…
Reference in New Issue