StateDevice -> Add an error message if the keywords passed into the device constructor are invalid.