Door state is a srtring, not an integer

Fixes #1