Allow changing deviceId

Requested by @apfister so he can test push notification delivery when triggers fire.