Okay, so I think I understand what's happening...
I have button 1 and 2 assigned to hue directly in Logitech. Button 3 and 4 are assigned to the ST virtual switches.
In HE, Button 3 turns on the same hue bulbs that button 1 and 2 control in addition to some extra switches in the room. Now when I push button 3, it turns on all the hue bulbs and switches. However, the Harmony Elite also sends an event for the hue bulbs getting turned on which send HE events for button 1 and 2. Oh, and button 3 is still getting duplicated.
So by pushing button 3, I get 2 button 3 pushed events, a button 1 pushed event and a button 2 pushed event. Same story with holding button 3.
The logs are below... I'd also look into the logs to see if I can figure out a way to fix it. Thanks!
[dev:52](http://192.168.1.222/logs#dev52)2020-11-06 11:58:49.146 pm [debug](http://192.168.1.222/device/edit/52)Socket Button 1 was 'pushed'
[dev:52](http://192.168.1.222/logs#dev52)2020-11-06 11:58:49.144 pm [debug](http://192.168.1.222/device/edit/52)[type:automation.state?notify, data:[0a667f1a-11f7-4ed8-8134-2afc150ba4b2:[status:0, brightness:256.56565656566, on:true]]]
[dev:52](http://192.168.1.222/logs#dev52)2020-11-06 11:58:49.141 pm [debug](http://192.168.1.222/device/edit/52)parsed: {"type":"automation.state?notify","data":{"0a667f1a-11f7-4ed8-8134-2afc150ba4b2":{"status":0,"brightness":256.56565656566,"on":true}}}
[dev:52](http://192.168.1.222/logs#dev52)2020-11-06 11:58:46.194 pm [debug](http://192.168.1.222/device/edit/52)Bulb Button 1 was 'pushed'
[dev:52](http://192.168.1.222/logs#dev52)2020-11-06 11:58:46.188 pm [debug](http://192.168.1.222/device/edit/52)[type:automation.state?notify, data:[hue-00:17:88:01:02:4c:d6:80-0b:[color:[mode:hs, xy:[y:0.4109, x:0.4562], temp:362, hueSat:[hue:8520, sat:140]], brightness:254, on:true, status:0]]]
[dev:52](http://192.168.1.222/logs#dev52)2020-11-06 11:58:46.185 pm [debug](http://192.168.1.222/device/edit/52)parsed: {"type":"automation.state?notify","data":{"hue-00:17:88:01:02:4c:d6:80-0b":{"color":{"mode":"hs","xy":{"y":0.4109,"x":0.4562},"temp":362,"hueSat":{"hue":8520,"sat":140}},"brightness":254,"on":true,"status":0}}}
[dev:52](http://192.168.1.222/logs#dev52)2020-11-06 11:58:46.162 pm [debug](http://192.168.1.222/device/edit/52)Bulb Button 2 was 'pushed'
[dev:52](http://192.168.1.222/logs#dev52)2020-11-06 11:58:46.159 pm [debug](http://192.168.1.222/device/edit/52)[type:automation.state?notify, data:[hue-00:17:88:01:02:4d:00:cc-0b:[color:[mode:ct, xy:[y:0.41, x:0.4573], temp:366, hueSat:[hue:8418, sat:140]], brightness:152, on:true, status:0]]]
[dev:52](http://192.168.1.222/logs#dev52)2020-11-06 11:58:46.156 pm [debug](http://192.168.1.222/device/edit/52)parsed: {"type":"automation.state?notify","data":{"hue-00:17:88:01:02:4d:00:cc-0b":{"color":{"mode":"ct","xy":{"y":0.41,"x":0.4573},"temp":366,"hueSat":{"hue":8418,"sat":140}},"brightness":152,"on":true,"status":0}}}
[dev:52](http://192.168.1.222/logs#dev52)2020-11-06 11:58:38.768 pm [debug](http://192.168.1.222/device/edit/52)Socket Button 1 was 'pushed'
[dev:52](http://192.168.1.222/logs#dev52)2020-11-06 11:58:38.765 pm [debug](http://192.168.1.222/device/edit/52)[type:automation.state?notify, data:[0a667f1a-11f7-4ed8-8134-2afc150ba4b2:[status:1, brightness:256.56565656566, on:true]]]
[dev:52](http://192.168.1.222/logs#dev52)2020-11-06 11:58:38.762 pm [debug](http://192.168.1.222/device/edit/52)parsed: {"type":"automation.state?notify","data":{"0a667f1a-11f7-4ed8-8134-2afc150ba4b2":{"status":1,"brightness":256.56565656566,"on":true}}}
[dev:52](http://192.168.1.222/logs#dev52)2020-11-06 11:58:38.099 pm [info](http://192.168.1.222/device/edit/52)Unhandled data from Harmony Hub. json = {"type":"control.button?pressType","data":{"type":"short"}}
[dev:52](http://192.168.1.222/logs#dev52)2020-11-06 11:58:38.097 pm [debug](http://192.168.1.222/device/edit/52)[type:control.button?pressType, data:[type:short]]
[dev:52](http://192.168.1.222/logs#dev52)2020-11-06 11:58:38.094 pm [debug](http://192.168.1.222/device/edit/52)parsed: {"type":"control.button?pressType","data":{"type":"short"}}