Sierra Beta: External keyboard won't type "a" and types an "i" instead of "h" after several seconds of being plugged in
EDIT: I updated my machine to the latest Beta and I also got this issue. I resolved it by going to:

Preferences -> Keyboard -> Modifier Keys...  

And then "Restore Defaults".

This is a known issue in latest Beta.