mirror of
https://github.com/arendst/Tasmota.git
synced 2026-07-27 20:05:46 +00:00
RulesProcessEvent() in xdrv_10_system_events.ino (which owns the Xdrv10 slot when neither USE_RULES nor USE_SCRIPT is compiled) returned true unconditionally. SendKey() interprets true as "event serviced", so the default ButtonN -> ExecuteCommandPower action never executed: the press was logged (BTN: ButtonN multi-press 1) but the relay never toggled. Return false instead, mirroring xdrv_10_rules.ino's 'serviced' semantics where true means a rule actually consumed the event.