Synchronize the on/off state of 2 entities