Add 'when device is connected' hat block