Still having the same issue, but now, I’m able to share the automation trace, courtesy of 2021.4 release.
The 2 second delay is what is causing my issues. Subsequent calls of the same automation don’t have that delay. However, delay is again present after ~15 minutes of “cooldown” period.
The z2m log clearly shows the 2 second delay between publishing mqtt command from the remote and receiving back the command to toggle the first of three lights.
debug 2021-04-08 15:51:07: Received Zigbee message from '0x90fd9ffffef5c2dd', type 'commandToggle', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 47363
info 2021-04-08 15:51:07: MQTT publish: topic 'zigbee2mqtt/0x90fd9ffffef5c2dd', payload '{"action":"toggle","battery":47,"linkquality":78,"update":{"state":"available"},"update_available":true}'
info 2021-04-08 15:51:07: MQTT publish: topic 'zigbee2mqtt/0x90fd9ffffef5c2dd', payload '{"action":"","battery":47,"linkquality":78,"update":{"state":"available"},"update_available":true}'
info 2021-04-08 15:51:07: MQTT publish: topic 'zigbee2mqtt/0x90fd9ffffef5c2dd/action', payload 'toggle'
debug 2021-04-08 15:51:09: Received MQTT message on 'zigbee2mqtt/0x000d6ffffefc2b71/set' with data '{"state": "ON"}'
debug 2021-04-08 15:51:09: Publishing 'set' 'state' to '0x000d6ffffefc2b71'
debug 2021-04-08 15:51:09: Received MQTT message on 'zigbee2mqtt/ikea_woofer/set' with data '{"state": "ON"}'
debug 2021-04-08 15:51:09: Publishing 'set' 'state' to 'ikea_woofer'
info 2021-04-08 15:51:09: MQTT publish: topic 'zigbee2mqtt/dnevna_soba', payload '{"brightness":254,"color":{"x":0.3855,"y":0.1546},"color_temp":44,"state":"ON"}'
info 2021-04-08 15:51:09: MQTT publish: topic 'zigbee2mqtt/ikea_woofer', payload '{"brightness":254,"color":{"x":0.3855,"y":0.1546},"color_temp":44,"linkquality":139,"state":"ON","update":{"state":"idle"},"update_available":false}'
debug 2021-04-08 15:51:09: Received MQTT message on 'zigbee2mqtt/sonoff_lampa/set' with data 'ON'
debug 2021-04-08 15:51:09: Publishing 'set' 'state' to 'sonoff_lampa'
debug 2021-04-08 15:51:09: Received Zigbee message from 'sonoff_lampa', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
info 2021-04-08 15:51:09: MQTT publish: topic 'zigbee2mqtt/dnevna_soba', payload '{"brightness":10,"color":{"x":0.3855,"y":0.1546},"color_temp":44,"state":"ON"}'
info 2021-04-08 15:51:09: MQTT publish: topic 'zigbee2mqtt/sonoff_lampa', payload '{"brightness":10,"color":{"x":0.3855,"y":0.1546},"color_temp":44,"linkquality":39,"state":"ON"}'
debug 2021-04-08 15:51:09: Received Zigbee message from 'sonoff_lampa', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
debug 2021-04-08 15:51:09: Received Zigbee message from 'sonoff_lampa', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
debug 2021-04-08 15:51:09: Received Zigbee message from 'sonoff_lampa', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
debug 2021-04-08 15:51:09: Received Zigbee message from 'sonoff_lampa', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
debug 2021-04-08 15:51:09: Received Zigbee message from 'sonoff_lampa', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
debug 2021-04-08 15:51:09: Received Zigbee message from 'sonoff_lampa', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
info 2021-04-08 15:51:09: MQTT publish: topic 'zigbee2mqtt/sonoff_lampa', payload '{"brightness":10,"color":{"x":0.3855,"y":0.1546},"color_temp":44,"linkquality":39,"state":"ON"}'
info 2021-04-08 15:51:09: MQTT publish: topic 'zigbee2mqtt/dnevna_soba', payload '{"brightness":254,"color":{"x":0.3855,"y":0.1546},"color_temp":44,"state":"ON"}'
info 2021-04-08 15:51:09: MQTT publish: topic 'zigbee2mqtt/0x000d6ffffefc2b71', payload '{"brightness":254,"linkquality":78,"state":"ON","update":{"state":"available"},"update_available":true}'